We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
probes=None
1 parent ebfd895 commit 747b732Copy full SHA for 747b732
src/dstack/_internal/core/compatibility/runs.py
@@ -68,6 +68,9 @@ def get_run_spec_excludes(run_spec: RunSpec) -> IncludeExcludeDictType:
68
configuration_excludes["probes"] = {"__all__": probe_excludes}
69
if all(p.until_ready is None for p in run_spec.configuration.probes):
70
probe_excludes["until_ready"] = True
71
+ elif run_spec.configuration.probes is None:
72
+ # Servers prior to 0.20.8 do not support probes=None
73
+ configuration_excludes["probes"] = True
74
75
if configuration_excludes:
76
spec_excludes["configuration"] = configuration_excludes
0 commit comments