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

refactor: refact network list api #1173

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

rudyfly
Copy link
Collaborator

@rudyfly rudyfly commented Apr 20, 2018

Ⅰ. Describe what this PR did

refact network list api, make it compatible with moby api.

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: Rudy Zhang [email protected]

@rudyfly rudyfly changed the title refector: refect network list api refactor: refact network list api Apr 20, 2018
refect network list api, make it compatible with moby api.

Signed-off-by: Rudy Zhang <[email protected]>
for _, net := range networks {
respNetworks.Networks = append(respNetworks.Networks, &types.NetworkInfo{
respNetworks = append(respNetworks, types.NetworkResource{
Copy link
Contributor

Choose a reason for hiding this comment

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

There are only three fields we uses.

In the future, we need to list which fields we need and make it perfect.

For now, LGTM

@fuweid
Copy link
Contributor

fuweid commented Apr 20, 2018

LGTM

@fuweid fuweid merged commit 0fb58ab into AliyunContainerService:master Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants