Skip to content

Commit 1a3e07e

Browse files
committed
document validateNamespaceName
Signed-off-by: Mike Interlandi <[email protected]>
1 parent b5b6a71 commit 1a3e07e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cmd/namespace/common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func labelArgs(labelStrings []string) map[string]string {
4444
return labels
4545
}
4646

47+
// Returns an error if name is invalid.
4748
func validateNamespaceName(name string) error {
4849
for _, c := range(name) {
4950
if (

0 commit comments

Comments
 (0)