Skip to content

Commit 9ff0068

Browse files
authored
replaced warning for missing update.cfg by a debug message and create… (#662)
… new update.cfg and do the first update like before ## Fixes - ## Changes - replaced warning for missing update.cfg by a debug message ## Checklist <!-- Put an `x` in the boxes. All tasks must be completed and boxes checked before merging. --> - [x] 🤖 This change is covered by unit tests (if applicable). - [x] 🤹 Manual testing has been performed (if necessary). - [x] 🛡️ Security impacts have been considered (if relevant). - [x] 📖 Documentation updates are complete (if required). - [x] 🧠 Third-party dependencies and TPIP updated (if required).
1 parent 825a401 commit 9ff0068

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/installer/root.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,8 +1760,7 @@ func (p *PacksInstallationType) checkUpdateCfg(conf *updateCfg, WarningInsteadOf
17601760
f, err := os.Open(filepath.Join(p.WebDir, "update.cfg"))
17611761
if err != nil {
17621762
if WarningInsteadOfErrors {
1763-
log.Warnf("Could not open update.cfg: %v", err)
1764-
return nil
1763+
log.Debugf("Could not open update.cfg: %v", err)
17651764
}
17661765
return err
17671766
}

0 commit comments

Comments
 (0)