mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-04 05:17:40 +03:00
Removing duplicated code
This commit is contained in:
parent
2f0d5a6a52
commit
c87a33380d
@ -118,14 +118,6 @@ rescue Exception => e
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
begin
|
||||
occi_client = OCCIClient::Client.new(url,username,password,debug)
|
||||
rescue Exception => e
|
||||
puts "#{cmd_name}: #{e.message}"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
|
||||
begin
|
||||
occi_client = OCCIClient::Client.new(url,username,password,debug)
|
||||
rescue Exception => e
|
||||
|
Loading…
Reference in New Issue
Block a user