Skip to content

Commit

Permalink
feat(cli): display status message in table when running glasskube list
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshal101 authored and hanshal101 committed Jul 3, 2024
1 parent e6aec5d commit 4126a62
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cmd/glasskube/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ var updateCmd = &cobra.Command{
updater.WithStatusWriter(statuswriter.Spinner())
}

if updateCmdOptions.dryRun {

}

var tx *update.UpdateTransaction
var err error

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4126a62

Please sign in to comment.