diff --git a/cmd/instance_create.go b/cmd/instance_create.go index bf7b7ea2..18fa5751 100644 --- a/cmd/instance_create.go +++ b/cmd/instance_create.go @@ -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) diff --git a/cmd/instance_update.go b/cmd/instance_update.go index 78e79a68..6d839502 100644 --- a/cmd/instance_update.go +++ b/cmd/instance_update.go @@ -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)