Skip to content

Commit

Permalink
[DEX-94] fix(cmd) application remove - better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
clemfromspace committed Jul 15, 2022
1 parent 2b9f80e commit b3637e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/application/remove/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func NewRemoveCmd(f *cmdutil.Factory, runF func(*RemoveOptions) error) *cobra.Co
func runRemoveCmd(opts *RemoveOptions) error {
_, err := opts.config.Application.GetID()
if err != nil {
return fmt.Errorf("unable to find application %s", opts.config.Application.Name)
return fmt.Errorf("the specified app does not exist: %s", opts.config.Application.Name)
}

if opts.DoConfirm {
Expand Down

0 comments on commit b3637e7

Please # to comment.