Skip to content

Commit

Permalink
Merge pull request #174 from redBorder/development
Browse files Browse the repository at this point in the history
Release 2.12.0
  • Loading branch information
manegron authored Sep 30, 2024
2 parents f0c7890 + 3027983 commit 14d303a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11.2
2.12.0
2 changes: 1 addition & 1 deletion resources/check/check_functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_nodes_with_service(service=nil)
else
members.each do |node|
node_info = get_node(node)
node_services = node_info.attributes.redborder.services
node_services = node_info.attributes.['redborder']['services']
nodes.push(node) if node_services.include? service
end
end
Expand Down
16 changes: 8 additions & 8 deletions resources/check/kafka/rb_check_kafka.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
print_command_output(output, return_value, colorless, quiet)
end

subtitle("Kafka messages", colorless, quiet)
%w[rb_monitor rb_flow rb_event rb_loc].each do | topic |
output = execute_command_on_node(node,"/usr/lib/redborder/scripts/rb_check_topic.rb -t #{topic}")
return_value = $?.exitstatus
output = output.gsub("\n","")
has_errors = true if return_value != 0
print_command_output(output, return_value, colorless, quiet)
end
# subtitle("Kafka messages", colorless, quiet)
# %w[rb_monitor rb_flow rb_event rb_loc].each do | topic |
# output = execute_command_on_node(node,"/usr/lib/redborder/scripts/rb_check_topic.rb -t #{topic}")
# return_value = $?.exitstatus
# output = output.gsub("\n","")
# has_errors = true if return_value != 0
# print_command_output(output, return_value, colorless, quiet)
# end
else
has_errors = true
end
Expand Down

0 comments on commit 14d303a

Please sign in to comment.