mirror of
https://github.com/OpenNebula/one.git
synced 2026-10-30 00:28:27 +09:00
F #-: Fix inconsistency in onevm --help (#4199)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
This commit is contained in:
1 parent
7f6b45ecc4
commit
7260d2d3ba
1 file changed
+4
-4
@@ -135,13 +135,13 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
}
|
||||
|
||||
POFF = {
|
||||
:name => 'poweroff',
|
||||
:name => 'poff',
|
||||
:large => '--poff',
|
||||
:description => 'Do the migrate by poweringoff the vm'
|
||||
}
|
||||
|
||||
POFFHARD = {
|
||||
:name => 'poweroff_hard',
|
||||
:name => 'poff-hard',
|
||||
:large => '--poff-hard',
|
||||
:description => 'Do the migrate by poweringoff hard the vm'
|
||||
}
|
||||
@@ -558,9 +558,9 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
end
|
||||
|
||||
def get_migration_type(options)
|
||||
if options[:poweroff]
|
||||
if options[:poff]
|
||||
1
|
||||
elsif options[:poweroff_hard]
|
||||
elsif options[:poff-hard]
|
||||
2
|
||||
else
|
||||
0
|
||||
|
||||
Reference in new issue
Block a user