mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #1303: Fix onemarket show(cherry picked from commit 250027c7ba)
This commit is contained in:
1 parent
a088b8d2fa
commit
a4c718a05b
1 file changed
+1
-7
@@ -172,13 +172,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
if CloudClient::is_error?(response)
|
||||
[response.code.to_i, response.to_s]
|
||||
else
|
||||
if options[:json]
|
||||
[0,response.body]
|
||||
else
|
||||
array_list = JSON.parse(response.body)
|
||||
TABLE.show(array_list['appliances'])
|
||||
0
|
||||
end
|
||||
[0,response.body]
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user