Skip to content

Commit

Permalink
deleting some debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
elkezza committed Aug 16, 2024
1 parent aa63777 commit 0354579
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/instance_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,8 @@ func (c *instanceCreateCmd) cmdRun(_ *cobra.Command, _ []string) error { //nolin
return
}
}
fmt.Printf("Protection flag value: %v\n", c.Protection)

if c.Protection {
fmt.Println("Protection flag is set, adding protection...")
var value egoscale3.UUID
var op *egoscale3.Operation
value, err = egoscale3.ParseUUID(*instance.ID)
Expand Down
1 change: 0 additions & 1 deletion cmd/instance_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func (c *instanceUpdateCmd) cmdRun(cmd *cobra.Command, _ []string) error {
}

if cmd.Flags().Changed(mustCLICommandFlagName(c, &c.Protection)) {
fmt.Println("Protection flag is set, adding protection...")
var value egoscale3.UUID
var op *egoscale3.Operation
value, err = egoscale3.ParseUUID(*instance.ID)
Expand Down

0 comments on commit 0354579

Please sign in to comment.