From c6644401ab092a5035e3ec767143093cd76f8f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Ali=C3=A8s?= Date: Sat, 21 Aug 2021 22:33:51 +0200 Subject: [PATCH] Update upgrade.go (#164) Signed-off-by: Arnaud Alies --- flytectl/cmd/upgrade/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytectl/cmd/upgrade/upgrade.go b/flytectl/cmd/upgrade/upgrade.go index 54686a1f76..d32d587252 100644 --- a/flytectl/cmd/upgrade/upgrade.go +++ b/flytectl/cmd/upgrade/upgrade.go @@ -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) {