We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cda95fd commit 2fa294aCopy full SHA for 2fa294a
cylc/flow/commands.py
@@ -209,6 +209,12 @@ async def stop(
209
else:
210
# immediate shutdown
211
try:
212
+ # BACK COMPAT: mode=None
213
+ # the mode can be `None` for commands issued from older Cylc
214
+ # versions
215
+ # From: 8.4
216
+ # To: 8.5
217
+ # Remove at: 8.x
218
mode = StopMode(mode.value) if mode else StopMode.REQUEST_CLEAN
219
except ValueError:
220
raise CommandFailedError(f"Invalid stop mode: '{mode}'") from None
0 commit comments