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

Use switch rather than ifs for getPodStatusForReplicationController #2227

Merged

Conversation

claire921
Copy link
Contributor

I think switch is more clear than if in this case.

@claire921 claire921 force-pushed the refactor_ExpandResourceShortcut branch from 41460b6 to a4261d0 Compare November 7, 2014 07:46
@smarterclayton
Copy link
Contributor

LGTM

smarterclayton added a commit that referenced this pull request Nov 7, 2014
Use switch rather than ifs for getPodStatusForReplicationController
@smarterclayton smarterclayton merged commit 10f6056 into kubernetes:master Nov 7, 2014
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.

2 participants