sensu-plugins-kafka 0.6.0 → 0.6.1

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: e931ad3727c1fecdc9d803a89863cc0075c57007
4
- data.tar.gz: 7cbcfb5d1867091cd18890f1bc37ac9ce40644fd
3
+ metadata.gz: 3cc9f1039deb9b9e2c71f8fafef1d007bc663aaa
4
+ data.tar.gz: de870e3ae5df767dfdc06be40788cd68bbb89245
5
5
  SHA512:
6
- metadata.gz: d2b11c03a7b6d8fb8da630992a5bfd3344a79dc85960533c5ea941a5e9ebd73ecad182e24932c610ac8d8aa52cf8c8f5e5642c7b7746cb8c8ca95f7f92bdf8e2
7
- data.tar.gz: 817e695fb3fc8eb4db1b23355c14f796db9839e736114c22eed0efb2fb15b27f8c81f484c5cf3f9a61a9a1cf2933f5e0ffafd8d8c98d126697857a637b6e44e9
6
+ metadata.gz: 883abb9b62f87035c569bdc7a289416b52d4324b95bd0893a63e2cf9018270ba30497b9f01da4bf1a111886c3e798636874f2002d255710fb17a23fe920e3f0b
7
+ data.tar.gz: f4545b5b05a2464310dbe6966fb9247937c45c615ff7d6df3463eb2c47f374037196828c74e63d6406b738118bcec131b5a0fb413c3e5ae73502f6cc9d20b72e
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
10
10
  ### Fixed
11
11
  ### Changed
12
12
 
13
+ ## [0.6.1] - 2017-02-10
14
+
15
+ ### Fixed
16
+ - Fix check-topics-name.rb
17
+
13
18
  ## [0.6.0] - 2017-02-10
14
19
 
15
20
  ### Added
@@ -50,8 +50,8 @@ class TopicsCheck < Sensu::Plugin::Check::CLI
50
50
 
51
51
  topics = z.get_children(path: '/brokers/topics')[:children].sort
52
52
 
53
- critical "Topics '#{config[:name] - topics}' not found" if (config[:name] - topics).empty?
54
- critical "Topics '#{topics - config[:name]}' not checked" if (topics - config[:name]).empty?
53
+ critical "Topics '#{config[:name] - topics}' not found" unless (config[:name] - topics).empty?
54
+ critical "Topics '#{topics - config[:name]}' not checked" unless (topics - config[:name]).empty?
55
55
 
56
56
  ok
57
57
  rescue => e
@@ -6,7 +6,7 @@ module SensuPluginsKafka
6
6
  module Version
7
7
  MAJOR = 0
8
8
  MINOR = 6
9
- PATCH = 0
9
+ PATCH = 1
10
10
 
11
11
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors