Skip to content

Commit 7648a6c

Browse files
authored
Fix volume error status message (#2806)
`dstack ps` used to show an incorrect error message in case of volume errors.
1 parent b09844d commit 7648a6c

File tree

1 file changed

+1
-1
lines changed
  • src/dstack/_internal/core/models

1 file changed

+1
-1
lines changed

src/dstack/_internal/core/models/runs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def _get_error(termination_reason: Optional[JobTerminationReason]) -> Optional[s
367367
error_mapping = {
368368
JobTerminationReason.INSTANCE_UNREACHABLE: "instance unreachable",
369369
JobTerminationReason.WAITING_INSTANCE_LIMIT_EXCEEDED: "waiting instance limit exceeded",
370-
JobTerminationReason.VOLUME_ERROR: "waiting runner limit exceeded",
370+
JobTerminationReason.VOLUME_ERROR: "volume error",
371371
JobTerminationReason.GATEWAY_ERROR: "gateway error",
372372
JobTerminationReason.SCALED_DOWN: "scaled down",
373373
JobTerminationReason.INACTIVITY_DURATION_EXCEEDED: "inactivity duration exceeded",

0 commit comments

Comments
 (0)