-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Docker compat API fixes #8409
Docker compat API fixes #8409
Conversation
need format |
CI is complaining that pkg/domain/entities/images.go needs a |
pkg/api/handlers/types.go
Outdated
@@ -215,7 +215,7 @@ func ImageToImageSummary(l *libpodImage.Image) (*entities.ImageSummary, error) { | |||
Created: l.Created().Unix(), | |||
Size: int64(*size), | |||
SharedSize: 0, | |||
VirtualSize: l.VirtualSize, |
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.
I think this is correct as-is, though the VirtualSize output itself may be bugged right now.
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.
I absolutely agree. The only reason why I did it that way is because my Go knowledge is minimal, so I couldn't figure out why it's wrong now. So I looked at what inspect command does and took it from there.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, mlegenovic The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@mlegenovic Thanks for the PR. To save you an additional hurdle, when you push the formatted code you need to sign your PR. For example...
|
@mlegenovic Still working on this? Is this still a WIP or can we remove this flag? |
@rhatdan The only reason why I set the WIP flag is because the issue is not yet solved with these changes. But the changes are completely independent and can be merged, so WIP can be removed. |
Great @mlegenovic Only issue then is @mheon comments on Virtual Size. Can you revert that change and then we can get this reviewed and into the package. |
These are the first fixes that are needed for development environments like Eclipse or IntelliJ that have Docker plug-ins and use the Docker API to speak with container engine (#7857) Signed-off-by: Milivoje Legenovic <[email protected]>
LGTM |
/lgtm |
These are the first fixes that are needed for development environments like
Eclipse or IntelliJ, that have Docker plug-ins and use the Docker API to speak
with container engine (#7857)