Skip to content

Commit c01926a

Browse files
committed
remove extra disabled and made easier to read
1 parent dd245d9 commit c01926a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/metrics-zookeeper-cluster.rb

+4-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ class ZookeeperMetrics < Sensu::Plugin::Metric::CLI::Graphite
4949
default: 2181,
5050
proc: proc(&:to_i)
5151

52-
# TODO: Remove rubocop:disable Style/CommentedKeyword on this function when fixed (https://github.com/sensu-plugins/community/issues/77#issuecomment-345813238)
53-
# rubocop:disable Style/CommentedKeyword
54-
def follow_url(uri_str, agent = "sensu-plugins-zookeeper/#{SensuPluginsZookeeper::Version::VER_STRING}", max_attempts = 10, timeout = 10)
52+
def follow_url(uri_str,
53+
agent = "sensu-plugins-zookeeper/#{SensuPluginsZookeeper::Version::VER_STRING}",
54+
max_attempts = 10,
55+
timeout = 10)
5556
attempts = 0
5657
cookie = nil
5758

0 commit comments

Comments
 (0)