Skip to content

Commit

Permalink
[kubernetes-sigs#2195] avoid using _ in cluster name
Browse files Browse the repository at this point in the history
  • Loading branch information
finalspy committed Apr 13, 2021
1 parent b6bc112 commit be38568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/apis/config/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
// and suffix this name, we can relax it a little
// see NewContext() for usage
// https://godoc.org/github.com/docker/docker/daemon/names#pkg-constants
var validNameRE = regexp.MustCompile(`^[a-z0-9_.-]+$`)
var validNameRE = regexp.MustCompile(`^[a-z0-9.-]+$`)

// Validate returns a ConfigErrors with an entry for each problem
// with the config, or nil if there are none
Expand Down

0 comments on commit be38568

Please sign in to comment.