Skip to content

Commit c99d6ee

Browse files
authored
Merge pull request #4500 from nickmango/feature/gerrit-redirect
Bug/Gerrit Return URL
2 parents f786536 + c6abdc2 commit c99d6ee

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 := gerrits.List[0].GerritURL
2347-
log.WithFields(f).Debugf("returnURL: %s", returnURL)
2346+
returnURL := input.ReturnURL
2347+
log.WithFields(f).Debugf("returnURL: %s", input.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)