We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d1fd1 commit 87cc470Copy full SHA for 87cc470
utils/validations.go
@@ -43,7 +43,7 @@ func ValidateFsType(s string) bool {
43
return fsTypeRegex.MatchString(s)
44
}
45
46
-var devNameRegexp = regexp.MustCompile(`^[0-9a-z_-]+$`)
+var devNameRegexp = regexp.MustCompile(`^[0-9A-Za-z_-]+$`)
47
48
func ValidateDevName(s string) bool {
49
// Allow mapped devices.
0 commit comments