Skip to content

Conversation

@sudo-bmitch
Copy link
Contributor

Fixes issue

Unit tests periodically fails when copying external referrers.

Describe the change

The imageSeenOrWait would falsely hit on a digest pushed to a separate repository, skipping the copy of a blob when it should not.

How to verify it

go test .

Changelog text

  • Fix: Handle repeated digest in copy with external referrers.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

The imageSeenOrWait would falsely hit on a digest pushed to a separate repository, skipping the copy of a blob when it should not.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit d6a5a84 into regclient:main Dec 9, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-fix-copy-external-referrers branch December 9, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant