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 austin362667 committed May 7, 2024
1 parent eef3229 commit 3eb2dd4
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 3eb2dd4

Please sign in to comment.