Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(479)

Issue 8824043: status: added the display of subordinates (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by TheMue
Modified:
11 years, 11 months ago
Reviewers:
dimitern, fwereade, mp+159339
Visibility:
Public.

Description

status: added the display of subordinates Added the display of subordinated units below their associated units and "subordinate-to" for the subordinated services. https://code.launchpad.net/~themue/juju-core/020-cmd-status-subordinates/+merge/159339 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : status: added the display of subordinates #

Total comments: 9

Patch Set 3 : status: added the display of subordinates #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -9 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/status.go View 1 2 5 chunks +57 lines, -9 lines 1 comment Download
M cmd/juju/status_test.go View 1 2 4 chunks +155 lines, -0 lines 1 comment Download

Messages

Total messages: 7
TheMue
Please take a look.
11 years, 11 months ago (2013-04-17 10:10:45 UTC) #1
fwereade
Excellent start, but a couple of tweaks needed. Only the ones that actually affect output ...
11 years, 11 months ago (2013-04-17 11:12:12 UTC) #2
TheMue
Please take a look. https://codereview.appspot.com/8824043/diff/1/cmd/juju/status.go File cmd/juju/status.go (left): https://codereview.appspot.com/8824043/diff/1/cmd/juju/status.go#oldcode183 cmd/juju/status.go:183: } On 2013/04/17 11:12:12, fwereade ...
11 years, 11 months ago (2013-04-17 13:06:31 UTC) #3
fwereade
LGTM wrt output. Code improvements appreciated but not required. https://codereview.appspot.com/8824043/diff/6001/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/8824043/diff/6001/cmd/juju/status.go#newcode214 cmd/juju/status.go:214: ...
11 years, 11 months ago (2013-04-17 13:38:28 UTC) #4
TheMue
Please take a look. https://codereview.appspot.com/8824043/diff/6001/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/8824043/diff/6001/cmd/juju/status.go#newcode214 cmd/juju/status.go:214: delete(servicesMap[serviceName].(statusMap), "units") On 2013/04/17 13:38:28, ...
11 years, 11 months ago (2013-04-17 15:25:46 UTC) #5
dimitern
Somewhat grudgy LGTM, although I don't like how the tests and readability are both deteriorating. ...
11 years, 11 months ago (2013-04-17 15:32:45 UTC) #6
fwereade
11 years, 11 months ago (2013-04-17 22:05:46 UTC) #7
Frank, sorry: rogpeppe got carried away and proposed a branch that cleans up the
structure so much it's worth the duplicated effort IMO... so NOT LGTM. Your
tests live on, though, and are much appreciated.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b