Skip to content

Commit

Permalink
--revision or --keeps required
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Sep 24, 2021
1 parent 3c7b4dd commit 7c762ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deregister.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (d *App) Deregister(opt DeregisterOption) error {
} else if aws.IntValue(opt.Keeps) > 0 {
return d.deregisterKeeps(ctx, opt, inUse)
}
return nil
return errors.New("--revision or --keeps required")
}

func (d *App) deregiserRevision(ctx context.Context, opt DeregisterOption, inUse map[string]string) error {
Expand Down

0 comments on commit 7c762ff

Please sign in to comment.