Skip to content

Commit

Permalink
use raw string for regex
Browse files Browse the repository at this point in the history
  • Loading branch information
richackard committed Jul 30, 2021
1 parent c9e06a1 commit fcc56b8
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 fcc56b8

Please sign in to comment.