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 Kubelets syncPod function by wrapping some functionalities into separate functions #5094

Merged
merged 1 commit into from
Mar 6, 2015

Conversation

gmarek
Copy link
Contributor

@gmarek gmarek commented Mar 5, 2015

It's related to #4731. I chose semantically neutral parts of WIP PR #5022

@vmarmol vmarmol self-assigned this Mar 5, 2015
return true
}

func (kl *Kubelet) getPodInfraContainer(podFullName string, uid types.UID,
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets document this method (mainly worried about the return values).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@vmarmol
Copy link
Contributor

vmarmol commented Mar 5, 2015

Thanks for splitting up @gmarek! Only minor comments.

@vmarmol
Copy link
Contributor

vmarmol commented Mar 5, 2015

Also please run the e2e tests when you have time :)

@vmarmol
Copy link
Contributor

vmarmol commented Mar 6, 2015

Heads up btw: Will need a rebase after the PRs that went in today

@vmarmol
Copy link
Contributor

vmarmol commented Mar 6, 2015

Looks good! Can you squash your commits before we merge? Have you had a chance to run the e2e tests btw?

@gmarek
Copy link
Contributor Author

gmarek commented Mar 6, 2015

Squashed. I run them yesterday and there were even less red that ones on the head, but that's probably a flake. I'm running it right now, so I'll probably be able to tell which fail in an hour or so.

@vmarmol
Copy link
Contributor

vmarmol commented Mar 6, 2015

@gmarek thanks! let me know and I'll merge. If you need to head out let me know and I can run them.

@gmarek
Copy link
Contributor Author

gmarek commented Mar 6, 2015

I already left, but running tests do not use a lot of 'cpu time'. Plus they are already running.

@gmarek
Copy link
Contributor Author

gmarek commented Mar 6, 2015

e2e is green.

@vmarmol
Copy link
Contributor

vmarmol commented Mar 6, 2015

Thanks @gmarek! Merging.

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.

3 participants