From 4126a62762dbb30e4e02c7c28165e1246777aa2f Mon Sep 17 00:00:00 2001 From: Hanshal Mehta <122217807+hanshal101@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:29:57 +0530 Subject: [PATCH] feat(cli): display status message in table when running glasskube list --- cmd/glasskube/cmd/update.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/glasskube/cmd/update.go b/cmd/glasskube/cmd/update.go index 6c98ed9fd..38c8461b5 100644 --- a/cmd/glasskube/cmd/update.go +++ b/cmd/glasskube/cmd/update.go @@ -49,10 +49,6 @@ var updateCmd = &cobra.Command{ updater.WithStatusWriter(statuswriter.Spinner()) } - if updateCmdOptions.dryRun { - - } - var tx *update.UpdateTransaction var err error @@ -117,10 +113,6 @@ var updateCmd = &cobra.Command{ fmt.Fprintf(os.Stderr, "⛔ Update cancelled. No changes were made.\n") cliutils.ExitSuccess() } - if updateCmdOptions.dryRun { - fmt.Fprintf(os.Stderr, "📝 Dry run: No changes were made.\n") - cliutils.ExitSuccess() - } updatedPackages, err := updater.ApplyBlocking(ctx, tx) if err != nil { fmt.Fprintf(os.Stderr, "❌ update failed: %v\n", err)