Fix Digital Ocean inventory script pagination handling (#35153)

This commit is contained in:
Sam Edwards 2018-01-23 06:59:50 -07:00 committed by Abhijeet Kasurde
parent 19ff2f4e8c
commit a1639abd71

View file

@ -191,7 +191,7 @@ class DoManager:
except ValueError as e:
sys.exit("Unable to parse result from %s: %s" % (url, e))
return json_resp
return resp_data
def all_active_droplets(self):
resp = self.send('droplets/')