diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:19:47 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:19:47 +0000 |
commit | 54b21cf54c51dfe40784a8096f84c7a80b015bd4 (patch) | |
tree | 4763692624732650daf1a9e02c91576d3f7ee8d0 /bin/custodian-enqueue | |
parent | a22b8e96ead33b0f97ed5243dbad7f7b6cd5135d (diff) |
Removed spaces inside parenthesis.
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-x | bin/custodian-enqueue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index 83e462e..4d8b354 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -130,7 +130,7 @@ if __FILE__ == $PROGRAM_NAME then # Connected to the queue - be it redis or beanstalkd # settings = Custodian::Settings.instance - queue = Custodian::QueueType.create( settings.queue_type ) + queue = Custodian::QueueType.create(settings.queue_type) if ! queue puts "Failed to connect to the #{settings.queue_type} queue" exit 1 @@ -148,11 +148,11 @@ if __FILE__ == $PROGRAM_NAME then # exit this script. # begin - mon.parse_file( ENV['FILE'] ) + mon.parse_file(ENV['FILE']) rescue => e puts "Failure in parsing the configuration file : #{ENV['FILE']}" puts e.to_s - exit( 1 ) + exit(1) end mon.jobs.each do |test| @@ -162,7 +162,7 @@ if __FILE__ == $PROGRAM_NAME then elsif ENV['DUMP'] puts test else - queue.add( test.to_s ) + queue.add(test.to_s) end end |