Skip to content

Conversation

@ktock
Copy link
Member

@ktock ktock commented Mar 25, 2022

Following up #858 (review)

@ktock ktock requested a review from AkihiroSuda March 25, 2022 09:46
return false, nil
}
return executor == "containerd" && containerdUUID == uuid && containerdNamespace == namespace, nil
containerdSnapshotter, ok := labels["org.mobyproject.buildkit.worker.snapshotter"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
containerdSnapshotter, ok := labels["org.mobyproject.buildkit.worker.snapshotter"]
workerSnapshotter, ok := labels["org.mobyproject.buildkit.worker.snapshotter"]

return false, nil
}
containerdUUID, ok := labels["org.mobyproject.buildkit.worker.containerd.uuid"]
workerUUID, ok := labels["org.mobyproject.buildkit.worker.containerd.uuid"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be still containerdUUID because it is under o.m.b.w.containerd.

OTOH, workerSnapshotter shouldn't be containerdSnapshotter because it is not under o.m.b.w.containerd.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@ktock ktock force-pushed the build-ensure-snapshotter branch from e746268 to 50cbdfc Compare March 25, 2022 10:02
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda reopened this Mar 25, 2022
@AkihiroSuda AkihiroSuda merged commit a5034ca into containerd:master Mar 25, 2022
@ktock ktock deleted the build-ensure-snapshotter branch September 28, 2022 14:05
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.

2 participants