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 +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_swift.rb +5 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06a0c041064730e725a9158aef6676b03b0011210b487c803d6ff64bfc638a09
|
4
|
+
data.tar.gz: 69e70773725e0c314aea8be0fca6d97e90a631508fede9dcd82b80af72d0f12f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16bc5cd87145dab325e1606f0e72e82dbedebfbdaa92e8dbb3a58a03aea2fb08bca991a5360038f3c3a772bbfe72035e1826e4f5a16dec0d358f01eea45d4d95
|
7
|
+
data.tar.gz: 5a06aa344f159d3e6d048ed3db9f70b111fa0369bd5b2c4cb6ebe20ef28daa294a4932140040d8fffd4da979f42b63348500feb9dc4e4b75a0d085663bc81179
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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,
|
59
|
-
config_set_default :timekey_wait,
|
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
|
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
|
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
|
172
|
+
$log.warn("swift_path: #{swift_path}")
|
177
173
|
|
178
174
|
if i.positive? && (swift_path == previous_path)
|
179
175
|
if overwrite
|