Skip to content

Commit

Permalink
Fixing rubocop issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
nstielau committed Nov 7, 2013
1 parent 9c83e24 commit 802528f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions plugins/supervisor/check-supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CheckSupervisor < Sensu::Plugin::Check::CLI
:short => '-H HOST',
:long => '--host HOST',
:default => 'localhost'

option :port,
:description => 'Supervisor port',
:short => '-p PORT',
Expand All @@ -35,8 +35,7 @@ class CheckSupervisor < Sensu::Plugin::Check::CLI
:description => 'Show this message',
:short => '-h',
:long => '--help'



def run

if config[:help]
Expand All @@ -56,7 +55,6 @@ def run

ok "All processes running"


end #def run
end # def run

end # class CheckSupervisor

0 comments on commit 802528f

Please sign in to comment.