mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #56137 from containscafeine/remove-punctuation-from-error
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove punctuation from the end of an error string ```release-note NONE ```
This commit is contained in:
commit
a16c348acf
@ -233,7 +233,7 @@ func getName(params map[string]string) (string, error) {
|
||||
if !found || len(name) == 0 {
|
||||
name, found = params["default-name"]
|
||||
if !found || len(name) == 0 {
|
||||
return "", fmt.Errorf("'name' is a required parameter.")
|
||||
return "", fmt.Errorf("'name' is a required parameter")
|
||||
}
|
||||
}
|
||||
return name, nil
|
||||
|
Loading…
Reference in New Issue
Block a user