Skip to content

Commit 178fc47

Browse files
authored
Updated tests to latest oakctl (#831)
1 parent 7d9f890 commit 178fc47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_examples_standalone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def get_app_status(app_id: str, args: Dict):
326326
)
327327
apps = json.loads(result.stdout)
328328
for app in apps:
329-
if app["container_id"] == app_id:
329+
if app.get("container_id") == app_id or app.get("app_id") == app_id:
330330
return app["status"]
331331
return None # App not found
332332
except Exception as e:

0 commit comments

Comments
 (0)