Skip to content

Commit

Permalink
relax pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Feb 5, 2024
1 parent 8a99fe7 commit 0beff1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/node.go
Expand Up @@ -135,7 +135,7 @@ func GenericVMInterfaceCheck(nodeName, netMode string, eps []links.Endpoint) err
pattern := `eth[1-9][0-9]*$`

if netMode == "none" {
pattern = `eth*$`
pattern = `.*`
}

ifRe := regexp.MustCompile(pattern)
Expand Down

0 comments on commit 0beff1c

Please sign in to comment.