chore: lint v2 (#24118)
This commit is contained in:
@@ -242,7 +242,7 @@ func createUpdateStep(oldKey, newKey string, oldEntry *parser.KeyValue) transfor
|
||||
return nil
|
||||
}
|
||||
|
||||
newEntry.KeyValue.Value = oldEntry.Value
|
||||
newEntry.Value = oldEntry.Value
|
||||
return nil
|
||||
}),
|
||||
}
|
||||
|
||||
@@ -433,7 +433,7 @@ func (l *Launcher) doPreUpgrade() error {
|
||||
|
||||
var exitErr *exec.ExitError
|
||||
if errors.As(err, &exitErr) {
|
||||
switch exitErr.ProcessState.ExitCode() {
|
||||
switch exitErr.ExitCode() {
|
||||
case 1:
|
||||
l.logger.Info("pre-upgrade command does not exist. continuing the upgrade.")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user