-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
converter: fix image platform matcher #115
Conversation
9071ac1
to
b5fd46f
Compare
b5fd46f
to
6bd5c35
Compare
if err != nil { | ||
return nil, err | ||
} | ||
return nydusUtils.ExcludeNydusPlatformComparer{MatchComparer: platformMC}, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that no one is using nydusUtils.ExcludeNydusPlatformComparer
anymore, are we good to remove it entirely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
We may remove the unnecessary stuff in a later commit.
We should only handle specific platform for pulling and pushing by `platforms.MatchComparer`, otherwise acceld will pull/push the layer data of all platforms for an image. Signed-off-by: Yan Song <imeoer@linux.alibaba.com>
To avoid importing a large number of redundant dependencies, we ported harbor structure definitions. Signed-off-by: Yan Song <imeoer@linux.alibaba.com>
To bring some fixups for nydus-image binary. Signed-off-by: Yan Song <imeoer@linux.alibaba.com>
b8be097
to
bf78872
Compare
converter: fix platform matcher
We should only handle specific platform for pulling and
pushing by
platforms.MatchComparer
, otherwise acceldwill pull/push the layer data of all platforms for an image.
deps: remove harbor structure definition
To avoid importing a large number of redundant dependencies,
we ported harbor structure definitions.
action: bump nydus v2.1.5
To bring some fixups for nydus-image binary.