Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fargher <jfargher@gitlab.com>2023-03-15 01:11:41 +0300
committerJames Fargher <jfargher@gitlab.com>2023-03-16 23:47:38 +0300
commit857860476afcd862a11f55c5da81d33e44e9e67b (patch)
tree011f3772bf857a0e5be86de5793434ad801bdc05
parent73f73641310ba0c2a6cb7b77339b4dae53be061c (diff)
module-updater: Relax proto package matcher to catch test protos
-rw-r--r--tools/module-updater/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/module-updater/main.go b/tools/module-updater/main.go
index b7c897fc2..4366fcebc 100644
--- a/tools/module-updater/main.go
+++ b/tools/module-updater/main.go
@@ -291,7 +291,7 @@ func rewriteProto(moduleAbsRootPath, prev, next string) error {
for _, line := range lines {
tokens := bytes.Fields(line)
pckg := bytes.Join(tokens, []byte{'~'})
- if !bytes.HasPrefix(pckg, []byte(`option~go_package~=~"`+prev+`/proto/go/gitalypb";`)) {
+ if !bytes.HasPrefix(pckg, []byte(`option~go_package~=~"`+prev+`/proto/`)) {
modified = append(modified, line)
continue
}