From 168591babef86bf89063891f4bb610d61cb5d6f5 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 13 May 2026 14:31:12 +0200 Subject: [PATCH] Remove bogus log line Since 03c3c8bee, the k0s configuration file is no longer restored into the restore destination, even though the log line stating this has never been removed. Fixes: 03c3c8bee ("restore k0s.yaml from backup to current directory") Signed-off-by: Tom Wieczorek (cherry picked from commit 2746018c8725f0478610244e2552caffadd3e856) (cherry picked from commit d028505ec7d33a712cad17e4601d9ea4f1e86942) (cherry picked from commit 29fc0e85ead8e256246d5f2f03e435545b4df5cb) --- pkg/backup/config_unix.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/backup/config_unix.go b/pkg/backup/config_unix.go index dd0a086adf1a..31dfabfc286d 100644 --- a/pkg/backup/config_unix.go +++ b/pkg/backup/config_unix.go @@ -58,8 +58,6 @@ func (c configurationStep) Restore(restoreFrom, restoreTo string) error { return nil } - logrus.Infof("Previously used k0s.yaml saved under the data directory `%s`", restoreTo) - if c.restoredConfigPath == "-" { f, err := os.Open(objectPathInArchive) if err != nil {