diff --git a/osmclient/sol005/cluster.py b/osmclient/sol005/cluster.py index 322576336986bee5962eafa465fc64a53120f132..8aa4b281f32b5b09fa7c8af88d8f067476b6ae80 100644 --- a/osmclient/sol005/cluster.py +++ b/osmclient/sol005/cluster.py @@ -72,7 +72,8 @@ class Cluster(GenericOSMAPIObject): try: _, resp = self._http.get2_cmd(f"{self._apiBase}/{item['_id']}/get_creds") if resp: - op_id = json.loads(resp) + resp = json.loads(resp) + op_id = resp["op_id"] # Wait loop to check if the operation completed result = self.wait_for_operation_status(item["_id"], 10, op_id) if result: