-
Notifications
You must be signed in to change notification settings - Fork 610
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
pkg/api/types: remove dependencies on nerdctl #2892
pkg/api/types: remove dependencies on nerdctl #2892
Conversation
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.
LGTM on CI green, thanks
dbd7979
to
21c8507
Compare
Want to confirm these are just flaky tests? Seems to be similar to other tests failing in the open PRs. Also sorry @djdongjin I force pushed right after your review so I think it dismissed it 😅 |
Yeah seems flaky tests, most errrors look related to cosign. |
Thanks, could you rebase, then the CI should be green |
pkg/api/types had a dependency on netutil and imgutil packages. This would create issues with circular dependencies, e.g. in containerd#2638 imgutil could not import types due to its dependency on netutil. This change moves NetworkCreateOptions and RemoteSnapshotterFlags into types to remove any future circular dependencies. This should also help us to clean our function headers, since we no longer need to explode the options struct into many different pieces. Signed-off-by: David Son <[email protected]>
21c8507
to
70ee810
Compare
Rebase done, CI looks good. |
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.
Thanks
pkg/api/types had a dependency on netutil and imgutil packages. This would create issues with circular dependencies, e.g. in #2638 imgutil could not import types due to its dependency on netutil. This change moves NetworkCreateOptions and RemoteSnapshotterFlags into types to remove any future circular dependencies.