Skip to content

Commit d2ddd9f

Browse files
committed
Handle custom naming for LocationFSxOpenZFS.
1 parent 0fb8574 commit d2ddd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/naming/naming.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func isCapitalLetter(ch byte) bool {
143143
}
144144

145145
func isCustomName(name string) bool {
146-
re1 := regexp.MustCompile(`((e|hd|n)fs|(E|HD|N)FS)$`)
146+
re1 := regexp.MustCompile(`((e|hd|n|z)fs|(E|HD|N|Z)FS)$`)
147147
re2 := regexp.MustCompile(`tions$`)
148148
re3 := regexp.MustCompile(`(W|w)indows$`)
149149

0 commit comments

Comments
 (0)