Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
obazoud committed Dec 23, 2018
1 parent c81c287 commit ffb246c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check-broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run
brokers = z.get_children(path: '/brokers/ids')[:children]

critical "Broker '#{config[:ids] - brokers}' not found" unless (config[:ids] - brokers).length == 0
critical "Broker wrong size: #{brokers.length} (#{brokers}), expection #{config[:size]}" unless brokers.length == config[:size]
critical "Broker wrong size: #{brokers.length} (#{brokers}), expecting #{config[:size]}, missing #{brokers- config[:ids]}" unless brokers.length == config[:size]

ok
rescue => e
Expand Down

0 comments on commit ffb246c

Please sign in to comment.