fluent-plugin-cloudwatch-ingest 0.1.40 → 0.1.41

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
  SHA1:
3
- metadata.gz: dc3b73dbc1a5a3cd0cca2e3ccb82e389cd2fa0fc
4
- data.tar.gz: 307ca5ec05cd80059c7cf215925654070ecf8c9c
3
+ metadata.gz: 071cd84a70a8fea5b961a52942f920bb258eb09d
4
+ data.tar.gz: f4f34350bc7a06254a73b4d2162dcb367a3c74f6
5
5
  SHA512:
6
- metadata.gz: 1030ed4988209357d8f8985e319386897fdcd03d5e4f300cb064607523f7b9eb0ac5c2545961c5e14bed7655b5cde68e8d981f2b759cbd37ab8941b744086f1e
7
- data.tar.gz: 53261ce634c6f5d8223ea26b6ade335d190700e409fb815942ec5513f00d76adb661948d5e63bde699782115d28aca92b30d1a2423008a90351a8b9be3355cd5
6
+ metadata.gz: 212b6281c3557b089241ea33b668f47f5dff63881e878b9ec1ef1f836b101db1766401628e21a3994e7d56121035769f23556a721b34a67ea0eac2acf369f094
7
+ data.tar.gz: 2d35b1ed9fb494e5b976ff400544eb50c4b441e99ef837bb554f6847d51c8b208d9e3021cdd1ea1ae8988052cf6bae542e3c177534bf4a99da2568608bca4ef9
@@ -2,7 +2,7 @@ module Fluent
2
2
  module Plugin
3
3
  module Cloudwatch
4
4
  module Ingest
5
- VERSION = '0.1.40'.freeze
5
+ VERSION = '0.1.41'.freeze
6
6
  end
7
7
  end
8
8
  end
@@ -237,18 +237,18 @@ module Fluent::Plugin
237
237
  self.statefile = Pathname.new(@filepath).open('w+')
238
238
  save
239
239
  rescue => boom
240
- @log.error("Unable to create new state file #{statefile}: #{boom}")
240
+ @log.error("Unable to create new file #{statefile.path}: #{boom}")
241
241
  end
242
242
  end
243
243
 
244
244
  # Attempt to obtain an exclusive flock on the file and raise and
245
245
  # exception if we can't
246
- @log.info("Obtaining exclusive lock on state file #{statefile}")
246
+ @log.info("Obtaining exclusive lock on state file #{statefile.path}")
247
247
  lockstatus = statefile.flock(File::LOCK_EX | File::LOCK_NB)
248
248
  raise CloudwatchIngestInput::State::LockFailed if lockstatus == false
249
249
 
250
250
  @store.merge!(Psych.safe_load(statefile.read))
251
- @log.info("Loaded #{@store.keys.size} log groups from #{statefile}")
251
+ @log.info("Loaded #{@store.keys.size} loggroups from #{statefile.path}")
252
252
  end
253
253
 
254
254
  def save
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-cloudwatch-ingest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pointer