Merge pull request #5468 from Keramblock/master

fix(tiller): fixed a typo in tiller and unit test
pull/5478/head
Matthew Fisher 7 years ago committed by GitHub
commit 465f56f83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -195,7 +195,7 @@ func (s *ReleaseServer) uniqName(start string, reuse bool) (string, error) {
s.Log("name %s exists but is not in use, reusing name", start)
return start, nil
} else if reuse {
return "", fmt.Errorf("a released named %s is in use, cannot re-use a name that is still in use", start)
return "", fmt.Errorf("a release named %s is in use, cannot re-use a name that is still in use", start)
}
return "", fmt.Errorf("a release named %s already exists.\nRun: helm ls --all %s; to check the status of the release\nOr run: helm del --purge %s; to delete it", start, start, start)

@ -604,7 +604,7 @@ func TestUpdateReleasePendingInstall_Force(t *testing.T) {
t.Error("Expected failed update")
}
expectedError := "a released named forceful-luke is in use, cannot re-use a name that is still in use"
expectedError := "a release named forceful-luke is in use, cannot re-use a name that is still in use"
got := err.Error()
if err.Error() != expectedError {
t.Errorf("Expected error %q, got %q", expectedError, got)

Loading…
Cancel
Save