fluent-plugin-cloudwatch-ingest 0.1.11 → 0.1.12
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/README.md +1 -1
- data/lib/fluent/plugin/cloudwatch/ingest/version.rb +1 -1
- data/lib/fluent/plugin/in_cloudwatch_ingest.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 034596977698b1afc31bf2207e3a6557e489cfbd
|
4
|
+
data.tar.gz: 5556b9aefcddfbad6fc5a174a2e09fad2f2d72c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bede5e6edd7c61bcfb7c171c235063e29cfe2aaa5e312e493510c6ae9cb289e8170c06dd5774801233c2920017be06c143f4106a70e47c4c52e6a4159c22168
|
7
|
+
data.tar.gz: f3c06d4a5160281764e0cfb09348a5b3c7ccbf9c4c39bbefab944362d66fea5d42ab72a542e5cf4726d11cfeb73cd2fd9e9076d165f778acc7b8f3a935e570c6
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Fluentd Cloudwatch Plugin [](https://circleci.com/gh/sampointer/fluent-plugin-cloudwatch-ingest) [](https://badge.fury.io/rb/fluent-plugin-cloudwatch-ingest) 
|
2
2
|
|
3
3
|
**This gem is not yet ready for production release or use.**
|
4
4
|
|
@@ -132,7 +132,7 @@ module Fluent::Plugin
|
|
132
132
|
def run
|
133
133
|
until @finished
|
134
134
|
begin
|
135
|
-
state = State.new(@state_file_name)
|
135
|
+
state = State.new(@state_file_name, log)
|
136
136
|
rescue => boom
|
137
137
|
log.info("Failed lock state. Sleeping for #{@interval}: #{boom}")
|
138
138
|
sleep @interval
|
@@ -190,7 +190,7 @@ module Fluent::Plugin
|
|
190
190
|
class LockFailed < RuntimeError; end
|
191
191
|
attr_accessor :statefile
|
192
192
|
|
193
|
-
def initialize(filepath)
|
193
|
+
def initialize(filepath, log)
|
194
194
|
self.statefile = Pathname.new(filepath).open('w')
|
195
195
|
unless File.exist?(statefile)
|
196
196
|
log.warn("No state file #{statefile} Creating a new one.")
|