-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Deployment detail backend #750
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
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
Current coverage is 95.22%
@@ master #750 diff @@
==========================================
Files 173 173
Lines 1332 1338 +6
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 1262 1274 +12
+ Misses 70 64 -6
Partials 0 0
|
@floreks @digitalfishpond Can you review this? |
Hey, this is nice! Can you make it merge-able so that we merge it and do more work in follow up PRs? We like small PRs here :)
I think it is worth to show them if we can explain easily to users what they are. Reviewed 1 of 3 files at r1, 4 of 4 files at r3. Comments from Reviewable |
Old/new replica sets are somehow related to deployment so we should show them. One approach could be to return @bryk what do you think? This PR looks really nice! Just few comments.
|
And yeah, only minor comments. IMO, we can merge this soon.
|
} | ||
} | ||
|
||
func toReplicaSetList(resourceList []extensions.ReplicaSet, pods []api.Pod) replicaset.ReplicaSetList { |
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.
There's a bit of duplication here on transforming extension replicaset objects into the dashboard ones. I'm not very familiar with Go or the source code, so I wasn't sure if I should, for example, export the getReplicaSetList on the replicaset package.
I'm using gofmt and it didn't change the line sizes. Sorry I didn't know I had to do it manually. |
Last cosmetic comment and I think we can merge :) @floreks Also take a look, if you can.
|
9238e3f
to
b0758e7
Compare
|
Still WIP
Not sure how to deal with the
NewReplicaSet
andOldReplicaSets
fields. Are they really needed for the frontend?Part of #595
This change is