Skip to content

Commit

Permalink
Update upgrade.go (flyteorg#164)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Alies <[email protected]>
  • Loading branch information
mouuff authored and robert-ulbrich-mercedes-benz committed Jul 2, 2024
1 parent 1322b04 commit 4124519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytectl/cmd/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func upgrade(u *updater.Updater) (string, error) {
}
return fmt.Sprintf("Successfully updated to version %s", latestVersion), nil
}
return "", u.Rollback()
return "", nil
}

func isUpgradeSupported(goos platformutil.Platform) (bool, error) {
Expand Down

0 comments on commit 4124519

Please sign in to comment.