Skip to content

Commit

Permalink
Bug/Gerrit Return URL
Browse files Browse the repository at this point in the history
- Used input return url value for post signing ICLA

Signed-off-by: Nick Mango <[email protected]>
  • Loading branch information
nickmango committed Dec 12, 2024
1 parent f786536 commit c6abdc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cla-backend-go/v2/sign/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2343,8 +2343,8 @@ func (s *service) RequestIndividualSignatureGerrit(ctx context.Context, input *m
return nil, errors.New("no gerrits found for project")
}

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

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

0 comments on commit c6abdc2

Please sign in to comment.