Fix command parsing on legacy api version
Change-Id: I43db7827a356650ab20e9ecaf0e7b7f41e771463
Closes-Bug: #1825067
(cherry picked from commit 422c9f25e3
)
This commit is contained in:
parent
b5f1c47c8a
commit
fef4d0657a
|
@ -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