fluent-plugin-openstack 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cf85915687ee2bef4cac435d3948442c7eb041d1d96eb44e614051f047e7f93
4
- data.tar.gz: '0045730838d478dd18778cfeb538d8fc4ea64d3bfde50b2344d5fee6ef2080b0'
3
+ metadata.gz: e54a564221292f123081d084e0e6c727f4b17e336920dfda4bf3c7a5bfa13074
4
+ data.tar.gz: 1c5db2176566037579a330bc0aca4622a0fd19d53611ac699a0b88f58e2c25e0
5
5
  SHA512:
6
- metadata.gz: 2b7e04669bb7defe9ce031530fa687d2d5c198d6d826fb0fe9325f0b9a399926698bf7abb9537611d12c0abf31c9252a6702aafddf9a4e64eb37af1207b99c52
7
- data.tar.gz: 35b2fdaf7c3442fbd6f5b74ffeb69df5db03eac766ab1476fbdc0a666ccc6f484dad38f89109ad27fe0519e96d7d844a6e39500d3685c3277f238da2b8bfcf3a
6
+ metadata.gz: 36f5258dd2a22e5a0862c64786c4ae48721f4e9138d6eb0677edd4a577b68c586ccbf2e0b7b55dddb43821e7729a6ac1554dfc0359e195bd219fcffc00359fbc
7
+ data.tar.gz: 67475166081c4eb359eac08a3a4eb19505f18e558a5853e5cc68a768ee1561dcb697116ea60d9b8326caee2aeaae0098574b10dc72f33b07bf22a9e2f2b857c0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -108,6 +108,9 @@ module Fluent::Plugin
108
108
  # For backward compatibility
109
109
  # TODO: Remove time_slice_format when end of support compat_parameters
110
110
  self.values_for_swift_object_chunk = {}
111
+
112
+ $log.warn("timekey_zone: #{timekey_zone}")
113
+
111
114
  self.time_slice_with_tz = Fluent::Timezone.formatter(timekey_zone, config['time_slice_format'])
112
115
  end
113
116
 
@@ -152,8 +155,6 @@ module Fluent::Plugin
152
155
  end
153
156
 
154
157
  begin
155
- $stdout.write("stdout time_slice: #{time_slice}")
156
- puts("puts time_slice: #{time_slice}")
157
158
  $log.warn("time_slice: #{time_slice}")
158
159
  $log.warn("index_format: #{index_format}")
159
160
 
@@ -164,10 +165,12 @@ module Fluent::Plugin
164
165
  '%{path}' => path,
165
166
  '%{file_extension}' => ext
166
167
  }
168
+ # rubocop:disable Style/FormatString
167
169
  values_for_swift_object_key_post = {
168
170
  '%{time_slice}' => time_slice,
169
- '%{index}' => format(index_format, i)
171
+ '%{index}' => sprintf(index_format, i)
170
172
  }.merge!(values_for_swift_object_chunk[chunk.unique_id])
173
+ # rubocop:enable Style/FormatString
171
174
 
172
175
  $log.warn("values_for_swift_object_key_post: #{values_for_swift_object_key_post}")
173
176
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - brissenden