Commit 0861b5e3 authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

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

install: Return more user-friendly response on eexists
parents 12e87b7e 33ace505
...@@ -588,7 +588,7 @@ func (s *ReleaseServer) uniqName(start string, reuse bool) (string, error) { ...@@ -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 "", 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 maxTries := 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment