mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Minor bugs in CLI
git-svn-id: http://svn.opennebula.org/one/trunk@681 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
ce0ccfb76d
commit
eb708ee4d4
@ -313,7 +313,6 @@ when "list"
|
||||
hostlist=HostShow.new(get_one_client)
|
||||
ops[:columns]=ops[:list] if ops[:list]
|
||||
result=hostlist.list_short(ops)
|
||||
hostlist.close
|
||||
else
|
||||
hostpool=OpenNebula::HostPool.new(get_one_client)
|
||||
hostpool.info
|
||||
@ -324,7 +323,6 @@ when "top"
|
||||
hostlist=HostShow.new(get_one_client)
|
||||
ops[:columns]=ops[:list] if ops[:list]
|
||||
result=hostlist.top(ops)
|
||||
hostlist.close
|
||||
|
||||
when "enable"
|
||||
check_parameters("enable", 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user