Return results for the get part API client

This commit is contained in:
Scott Hussey 2017-07-18 13:37:21 -05:00
parent 607c79687c
commit 8c69c9febc

View File

@ -104,6 +104,8 @@ class DrydockClient(object):
elif resp.status_code != 200:
raise errors.ClientError("Received a %d from GET URL: %s" % (resp.status_code, endpoint),
code=resp.status_code)
else:
return resp.json()
def load_parts(self, design_id, yaml_string=None):
"""