Commit afccfb82 authored by Monty Taylor's avatar Monty Taylor Committed by Andrew Gerrand

cmd/go: remove noVCSSuffix check for OpenStack

The original intent of the code was to allow both with and without .git
suffix for now to allow a transition period. The noVCSSuffix check was a
copy pasta error.

Fixes #15979.

Change-Id: I3d39aba8d026b40fc445244d6d01d8bc1979d1e4
Reviewed-on: https://go-review.googlesource.com/24645Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 519b4697
...@@ -858,7 +858,6 @@ var vcsPaths = []*vcsPath{ ...@@ -858,7 +858,6 @@ var vcsPaths = []*vcsPath{
re: `^(?P<root>git\.openstack\.org/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(\.git)?(/[A-Za-z0-9_.\-]+)*$`, re: `^(?P<root>git\.openstack\.org/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(\.git)?(/[A-Za-z0-9_.\-]+)*$`,
vcs: "git", vcs: "git",
repo: "https://{root}", repo: "https://{root}",
check: noVCSSuffix,
}, },
// General syntax for any server. // General syntax for any server.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment