Skip to content

Commit

Permalink
fix(sync): fix syncing signatures when using destination in sync's co…
Browse files Browse the repository at this point in the history
…nfig (#1429)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
  • Loading branch information
eusebiu-constantin-petu-dbk authored May 8, 2023
1 parent 449f0d0 commit d62dbcd
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 47 deletions.
2 changes: 1 addition & 1 deletion pkg/extensions/sync/signatures.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func (sig *signaturesCopier) canSkipOCIRefs(localRepo, digestStr string, index i
return true, nil
}

func syncBlob(sig *signaturesCopier, imageStore storage.ImageStore, remoteRepo, localRepo string,
func syncBlob(sig *signaturesCopier, imageStore storage.ImageStore, localRepo, remoteRepo string,
digest godigest.Digest,
) error {
getBlobURL := sig.upstreamURL
Expand Down
Loading

0 comments on commit d62dbcd

Please sign in to comment.