diff --git a/pkg/scheduler/patcher/main.py b/pkg/scheduler/patcher/main.py index fad23b636..48424ea2e 100644 --- a/pkg/scheduler/patcher/main.py +++ b/pkg/scheduler/patcher/main.py @@ -159,10 +159,9 @@ def run(): if manifest.changed: manifest.backup() - manifest.moveManifest() - manifest.flushMovedManifest() + manifest.remove() + manifest.flush() log.info('manifest file({}) was patched'.format(manifest.copyPath)) - manifest.restoreManifest() first_try = False if first_try: