We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4de905 commit 035420dCopy full SHA for 035420d
services/director-v2/src/simcore_service_director_v2/utils/db.py
@@ -16,11 +16,10 @@
16
StateType.ABORTED: RunningState.ABORTED,
17
StateType.WAITING_FOR_RESOURCES: RunningState.WAITING_FOR_RESOURCES,
18
StateType.WAITING_FOR_CLUSTER: RunningState.WAITING_FOR_CLUSTER,
19
+ StateType.UNKNOWN: RunningState.UNKNOWN,
20
}
21
-RUNNING_STATE_TO_DB = {v: k for k, v in DB_TO_RUNNING_STATE.items()} | {
22
- RunningState.UNKNOWN: StateType.FAILED
23
-}
+RUNNING_STATE_TO_DB = {v: k for k, v in DB_TO_RUNNING_STATE.items()}
24
25
_logger = logging.getLogger(__name__)
26
0 commit comments