From e716a49dabe2c086a97e2d8b3cffe5cf369ad026 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:19:47 +0000 Subject: Removed spaces inside parenthesis. --- bin/custodian-enqueue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/custodian-enqueue') 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 -- cgit v1.2.1