Skip to content

Commit 1efc709

Browse files
Merge pull request #4508 from communitybridge/revert-4500-feature/gerrit-redirect
Revert "Bug/Gerrit Return URL"
2 parents c99d6ee + 69dfbc4 commit 1efc709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cla-backend-go/v2/sign/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,8 +2343,8 @@ func (s *service) RequestIndividualSignatureGerrit(ctx context.Context, input *m
23432343
return nil, errors.New("no gerrits found for project")
23442344
}
23452345

2346-
returnURL := input.ReturnURL
2347-
log.WithFields(f).Debugf("returnURL: %s", input.ReturnURL)
2346+
returnURL := gerrits.List[0].GerritURL
2347+
log.WithFields(f).Debugf("returnURL: %s", returnURL)
23482348

23492349
if latestSignature != nil {
23502350
log.WithFields(f).Debugf("comparing latest signature document version: %s to latest document version: %s", latestSignature.SignatureDocumentMajorVersion, latestDocument.DocumentMajorVersion)

0 commit comments

Comments
 (0)