https://github.com/containerd/containerd/blob/main/core/unpack/unpacker.go#L159-L179
The unpackerConfig struct never has a platform set?
#Confused - how does Containnerd's Unpacker function NewUnpacker ever have a platform?
8 messages · Page 1 of 1 (latest)
notice that Unpacker embeds unpackerConfig, so the platforms field actually comes from unpackerConfig
that above function may be called here
given this, it's only populated with a platform if an option that does so is passed, right?
I'm trying to debug a situation where the snapshotter errors out for lack of a specified platform on every fetch and am just adding debug statements as I go - thanks
next is to find out why it's not getting one elsewhere
yep, that’s how i read it