Skip to content

Commit

Permalink
Update upgrade.go (#164)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Alies <[email protected]>
  • Loading branch information
mouuff authored Aug 21, 2021
1 parent ce15cf0 commit c664440
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 c664440

Please sign in to comment.