Merge pull request #2051 from dmonakhov/to-pool-v1

install: Return more user-friendly response on eexists
pull/2061/head
Matt Butcher 8 years ago committed by GitHub
commit 0861b5e3f4

@ -588,7 +588,7 @@ func (s *ReleaseServer) uniqName(start string, reuse bool) (string, error) {
return "", errors.New("cannot re-use a name that is still in use")
}
return "", fmt.Errorf("a release named %q already exists", start)
return "", fmt.Errorf("a release named %q already exists.\nPlease run: helm ls --all %q; helm del --help", start, start)
}
maxTries := 5

Loading…
Cancel
Save