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

Issue 6174051: Implement unit-get command

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

Description

Implement unit-get command Note that "smart" output formatting no longer exists; we default to yaml. Also consolidated common test code. https://code.launchpad.net/~fwereade/juju/go-unit-get-command/+merge/104537 Requires: https://code.launchpad.net/~fwereade/juju/go-config-get-command-flags/+merge/104410 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Implement unit-get command #

Total comments: 13

Patch Set 3 : Implement unit-get command #

Patch Set 4 : Implement unit-get command #

Patch Set 5 : Implement unit-get command #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -94 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujuc/server/config-get.go View 1 2 3 4 3 chunks +3 lines, -7 lines 0 comments Download
M cmd/jujuc/server/config-get_test.go View 1 2 3 4 4 chunks +14 lines, -65 lines 0 comments Download
M cmd/jujuc/server/context.go View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M cmd/jujuc/server/context_test.go View 1 2 2 chunks +1 line, -15 lines 0 comments Download
M cmd/jujuc/server/output.go View 1 2 3 4 2 chunks +6 lines, -7 lines 0 comments Download
A cmd/jujuc/server/unit-get.go View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A cmd/jujuc/server/unit-get_test.go View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
A cmd/jujuc/server/util_test.go View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 6
fwereade
Please take a look.
12 years ago (2012-05-03 11:56:05 UTC) #1
fwereade
Please take a look.
12 years ago (2012-05-03 12:48:24 UTC) #2
niemeyer
LGTM. Just trivial details.. https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/context.go File cmd/jujuc/server/context.go (right): https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/context.go#newcode27 cmd/jujuc/server/context.go:27: // checkUnitState returns an error ...
12 years ago (2012-05-03 19:21:10 UTC) #3
fwereade
Please take a look. https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/context.go File cmd/jujuc/server/context.go (right): https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/context.go#newcode27 cmd/jujuc/server/context.go:27: // checkUnitState returns an error ...
12 years ago (2012-05-03 22:54:03 UTC) #4
fwereade
Please take a look. https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/util_test.go File cmd/jujuc/server/util_test.go (right): https://codereview.appspot.com/6174051/diff/3001/cmd/jujuc/server/util_test.go#newcode47 cmd/jujuc/server/util_test.go:47: return w.(*bytes.Buffer).String() On 2012/05/03 22:54:03, ...
12 years ago (2012-05-04 08:10:43 UTC) #5
fwereade
11 years, 12 months ago (2012-05-09 19:39:16 UTC) #6
*** Submitted:

Implement unit-get command

Note that "smart" output formatting no longer exists; we default to yaml.

Also consolidated common test code.

R=niemeyer
CC=
https://codereview.appspot.com/6174051
Sign in to reply to this message.

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