mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Do no print extra empty line in onegroup create
This commit is contained in:
1 parent
09b840076e
commit
494dfffb38
1 file changed
+1
-1
@@ -52,7 +52,7 @@ class OneGroupHelper < OpenNebulaHelper::OneHelper
|
||||
group = factory
|
||||
exit_code , msg = group.create(group_hash)
|
||||
|
||||
puts msg if msg
|
||||
puts msg if msg && !msg.empty?
|
||||
|
||||
if (exit_code.class==Fixnum and exit_code < 0) or OpenNebula.is_error?(exit_code)
|
||||
puts exit_code.message if OpenNebula.is_error?(exit_code) && exit_code.message
|
||||
|
||||
Reference in new issue
Block a user