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 | e716a49dabe2c086a97e2d8b3cffe5cf369ad026 (patch) | |
tree | e7e98125f89941db4c9d0f48f2df9c410467a3d8 /bin/custodian-enqueue | |
parent | af2ee063abea8235a8cbd1448533e4f4fbc0d0af (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 |