Skip to content

Commit

Permalink
Not found error
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
pierre-emmanuelJ committed Jul 19, 2024
1 parent d2326da commit ec93aad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/instance_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (c *instanceDeleteCmd) cmdRun(_ *cobra.Command, _ []string) error {
for _, i := range c.Instances {
instance, err := instances.FindListInstancesResponseInstances(i)
if err != nil {
fmt.Fprintf(os.Stderr, "warning: %s not found.\n", i)
if !c.Force {
return err
}
Expand Down

0 comments on commit ec93aad

Please sign in to comment.