dict.values() was a list python2 but in python3 it's a view (#24504)
This commit is contained in:
parent
97b0448f0b
commit
91b87d4cbb
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ def await_spot_requests(module, ec2, spot_requests, count):
|
|||
if len(spot_req_inst_ids) < count:
|
||||
time.sleep(5)
|
||||
else:
|
||||
return spot_req_inst_ids.values()
|
||||
return list(spot_req_inst_ids.values())
|
||||
module.fail_json(msg="wait for spot requests timeout on %s" % time.asctime())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue