Skip to content

Commit c07f227

Browse files
authored
Merge pull request #97 from jianxiaoguo/main
fix(controller): drycc run pod should not restart
2 parents c0e7a63 + 6181883 commit c07f227

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)