Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Bug 1109646: dup was being called on nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Gupta committed Jun 16, 2014
1 parent 4de9bb5 commit 7102c9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion broker-util/oo-admin-ctl-app
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ command = args['--command']
bypass = args['--bypass']
gear_uuid = args['--gear_uuid']
cartridge = args['--cartridge']
server_alias = args['--alias'].dup
# dup is required here since the alias valiadation in add_alias calls a downcase!
# the string here seems to be frozen and cannot be modified, hence a dup is passed
server_alias = args['--alias'].dup if args['--alias']
multiplier = args['--multiplier']

if login.nil? or app_name.nil? or command.nil? or args["--help"]
Expand Down

0 comments on commit 7102c9c

Please sign in to comment.