Fix command parsing on legacy api version
Change-Id: I43db7827a356650ab20e9ecaf0e7b7f41e771463 Closes-Bug: #1825067
This commit is contained in:
parent
3dc62f7a3a
commit
422c9f25e3
|
@ -203,6 +203,8 @@ def list_availability_zones(zones):
|
|||
def parse_command(command):
|
||||
output = []
|
||||
if command:
|
||||
if isinstance(command, six.string_types):
|
||||
command = [command]
|
||||
for c in command:
|
||||
c = '"' + c + '"'
|
||||
output.append(c)
|
||||
|
|
Loading…
Reference in New Issue