Skip to content

cache: add fallback for snapshotID#3605

Merged
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:fix-snapshot-id-compat
Feb 9, 2023
Merged

cache: add fallback for snapshotID#3605
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:fix-snapshot-id-compat

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi commented Feb 8, 2023

same as #3595

In older BuildKit versions snapshotID was not always set if record was not created with GetByBlob method. Old code defaulted to cache record ID in that case but that broke with the metadata interface refactor.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

In older BuildKit versions snapshotID was not always set if record
was not created with GetByBlob method. Old code defaulted to cache
record ID in that case but that broke with the metadata interface
refactor.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 70bc369 into moby:master Feb 9, 2023
@neersighted
Copy link
Copy Markdown
Member

Related: #3595

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.

4 participants