feature #1303: Fix onemarket show(cherry picked from commit 250027c7ba)

This commit is contained in:
Daniel Molina authored and Ruben S. Montero committed 2012-06-13 22:45:15 +02:00
1 parent a088b8d2fa
commit a4c718a05b
1 file changed
+1 -7
+1 -7
View File
@@ -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