Skip to content
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

Add image-related methods to DockerManager #7578

Merged
merged 1 commit into from Apr 30, 2015

Conversation

yujuhong
Copy link
Contributor

This change is part of the efforts to make DockerManager implement the Runtime
interface.

The change also modifies the interface slightly to work with existing
code, and aggregates the type converting functions to convert.go.

@yujuhong
Copy link
Contributor Author

/cc @vmarmol, @yifan-gu

@yujuhong
Copy link
Contributor Author

Rebased.

@yifan-gu
Copy link
Contributor

LGTM

for _, i := range actualImages {
actual.Insert(i.ID)
}
if !reflect.DeepEqual(expected.List(), actual.List()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this order deterministic? Since it's converting from a map I don't think it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will add a comment for clarity.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, thanks for the pointer. Sounds good.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's alright, it's a failure to read the specification on my part.

@vmarmol
Copy link
Contributor

vmarmol commented Apr 30, 2015

LGTM, minor nits.

This change is part of the efforts to make DockerManager implement the Runtime
interface.

The change also modifies the interface slightly to work with existing
code, and aggregates the type converting functions to convert.go.
@yujuhong
Copy link
Contributor Author

Addressed the comments in the new patch. Thanks!

@vmarmol
Copy link
Contributor

vmarmol commented Apr 30, 2015

LGTM, thanks @yujuhong!

@vmarmol
Copy link
Contributor

vmarmol commented Apr 30, 2015

Shippable is green, merging.

vmarmol added a commit that referenced this pull request Apr 30, 2015
Add image-related methods to DockerManager
@vmarmol vmarmol merged commit 441a4e6 into kubernetes:master Apr 30, 2015
@yujuhong yujuhong deleted the docker_manager branch May 1, 2015 21:54
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.

None yet

4 participants