Skip to content

Commit

Permalink
Make sure the regex in the raw string does not use double backslash t…
Browse files Browse the repository at this point in the history
…o escape.
  • Loading branch information
richackard committed Aug 2, 2021
1 parent 6ff78b2 commit 6d22673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubetest2-gke/deployer/build/gke_make.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const (
)

var (
gkeMinorVersionRegex = regexp.MustCompile(`^v(\\d\\.\\d+).*$`)
gkeMinorVersionRegex = regexp.MustCompile(`^v(\d\.\d+).*$`)
)

type GKEMake struct {
Expand Down

0 comments on commit 6d22673

Please sign in to comment.