Skip to content

Commit

Permalink
Make the version checking less strict.
Browse files Browse the repository at this point in the history
  • Loading branch information
amwat committed Sep 17, 2020
1 parent b879a77 commit 2d31f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubetest2-gke/deployer/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func validateVersion(version string) error {
case "latest":
return nil
default:
re, err := regexp.Compile(`(\d)\.(\d)+\.(\d)*(-gke\.\d*\.\d*)(.*)`)
re, err := regexp.Compile(`(\d)\.(\d)+\.(\d)*(.*)`)
if err != nil {
return err
}
Expand Down

0 comments on commit 2d31f7e

Please sign in to comment.