fluent-plugin-openstack 1.0.6 → 1.0.7

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: 15906c9b6eb7e16912f913909f537dc16fb8955f45851ddc5a8bf1379a84b493
4
- data.tar.gz: 19715a8160434a3011225637af693552e8745d35ca7b1b8eb12695df4081c404
3
+ metadata.gz: 06a0c041064730e725a9158aef6676b03b0011210b487c803d6ff64bfc638a09
4
+ data.tar.gz: 69e70773725e0c314aea8be0fca6d97e90a631508fede9dcd82b80af72d0f12f
5
5
  SHA512:
6
- metadata.gz: 14e96990346115928014cd4fd5033540d3bb250c5d05010e0e90034d66325f80874ed0455718e9e3dfdc48cd83fb0a3461613aa54753bbbf2bf8e70e0418e474
7
- data.tar.gz: 513f073fba93a7abd61acaa4c51c1adaf8f1e688f88926cf1f09d492cc2f14465d5ed79ae13c04d7621bb2d4985f8a5c606f55dac664f9fdb3f40d9ca883ba78
6
+ metadata.gz: 16bc5cd87145dab325e1606f0e72e82dbedebfbdaa92e8dbb3a58a03aea2fb08bca991a5360038f3c3a772bbfe72035e1826e4f5a16dec0d358f01eea45d4d95
7
+ data.tar.gz: 5a06aa344f159d3e6d048ed3db9f70b111fa0369bd5b2c4cb6ebe20ef28daa294a4932140040d8fffd4da979f42b63348500feb9dc4e4b75a0d085663bc81179
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.6
1
+ 1.0.7
@@ -55,8 +55,8 @@ module Fluent::Plugin
55
55
 
56
56
  config_section :buffer do
57
57
  config_set_default :chunk_keys, ['time']
58
- config_set_default :timekey, '1h'
59
- config_set_default :timekey_wait, '5m'
58
+ config_set_default :timekey, 60 * 60
59
+ config_set_default :timekey_wait, 60
60
60
  end
61
61
 
62
62
  helpers :compat_parameters, :formatter, :inject
@@ -71,8 +71,6 @@ module Fluent::Plugin
71
71
 
72
72
  super
73
73
 
74
- $log.warn("config: #{config}")
75
-
76
74
  if auth_url.empty?
77
75
  raise Fluent::ConfigError, 'auth_url parameter or OS_AUTH_URL variable not defined'
78
76
  end
@@ -155,8 +153,6 @@ module Fluent::Plugin
155
153
  }.merge!(values_for_swift_object_chunk[chunk.unique_id])
156
154
  # rubocop:enable Style/FormatString
157
155
 
158
- $log.warn("values_for_swift_object_key_post: #{values_for_swift_object_key_post}")
159
-
160
156
  if uuid_flush_enabled
161
157
  values_for_swift_object_key_post['%{uuid_flush}'] = uuid_random
162
158
  end
@@ -165,15 +161,15 @@ module Fluent::Plugin
165
161
  values_for_swift_object_key_pre.fetch(matched_key, matched_key)
166
162
  end
167
163
 
168
- $log.warn("swift_path 1: #{swift_path}")
164
+ $log.warn("swift_path: #{swift_path}")
169
165
 
170
166
  swift_path = extract_placeholders(swift_path, metadata)
171
167
 
172
- $log.warn("swift_path 2: #{swift_path}")
168
+ $log.warn("swift_path: #{swift_path}")
173
169
 
174
170
  swift_path = swift_path.gsub(/%{[^}]+}/, values_for_swift_object_key_post)
175
171
 
176
- $log.warn("swift_path 3: #{swift_path}")
172
+ $log.warn("swift_path: #{swift_path}")
177
173
 
178
174
  if i.positive? && (swift_path == previous_path)
179
175
  if overwrite
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.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - brissenden