Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRobres committed Jun 7, 2024
1 parent f1ef645 commit 9df5c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lithops/serverless/backends/one/one.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _check_oneke(self, service_id):
logger.debug("Checking OpenNebula OneKE service status")
# Check service status
_service_json = self.client.servicepool[service_id].info()
last_log = _service_json[str(service_id)service_id]['TEMPLATE']['BODY'].get('log', [])[-1]
last_log = _service_json[str(service_id)]['TEMPLATE']['BODY'].get('log', [])[-1]
state = last_log['message'].split(':')[-1].strip()
if state != 'RUNNING':
raise OneError(f"OpenNebula OneKE service is not running: {state}")
Expand Down

0 comments on commit 9df5c93

Please sign in to comment.