We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7461874 commit eab0c11Copy full SHA for eab0c11
2 files changed
src/deployment/health.py
@@ -72,7 +72,7 @@ def deployment_status(id_: Identifier) -> BranchServiceStatus:
72
if status.phase == Phase.failed:
73
return BranchServiceStatus.ERROR
74
75
- if status.phase in {Phase.succeeded, Phase.pending}:
+ if status.phase in {Phase.succeeded, Phase.stopped, Phase.pending}:
76
return BranchServiceStatus.STOPPED
77
78
if status.services is None or not status.services.get("postgres", False):
src/deployment/kubernetes/neonvm.py
@@ -46,6 +46,7 @@ class Phase(Enum):
46
scaling = "Scaling"
47
pending = "Pending"
48
succeeded = "Succeeded"
49
+ stopped = "Stopped"
50
failed = "Failed"
51
52
0 commit comments