From d742eb434a70aca344ae4004eb4b66d17f8b6022 Mon Sep 17 00:00:00 2001 From: Katarzyna kulpa Date: Mon, 30 Sep 2024 11:38:14 +0200 Subject: [PATCH] [issue-1227] last attempt Signed-off-by: Katarzyna kulpa --- pkg/scheduler/patcher/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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: