Skip to content

Commit 6181883

Browse files
committed
fix(controller): drycc run pod should not restart
1 parent c0e7a63 commit 6181883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/scheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def run(self, namespace, name, image, entrypoint, command, **kwargs):
345345
)
346346

347347
# run pods never restart
348-
kwargs['restartPolicy'] = 'Never'
348+
kwargs['restart_policy'] = 'Never'
349349
kwargs['command'] = entrypoint
350350
kwargs['args'] = command
351351

0 commit comments

Comments
 (0)