Merge lp:~dave-cheney/juju-core/go-cmd-juju-add-unit into lp:~juju/juju-core/trunk
Proposed by
Dave Cheney
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gustavo Niemeyer | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 374 | ||||
Proposed branch: | lp:~dave-cheney/juju-core/go-cmd-juju-add-unit | ||||
Merge into: | lp:~juju/juju-core/trunk | ||||
Diff against target: |
166 lines (+127/-0) 5 files modified
cmd/juju/addunit.go (+62/-0) cmd/juju/addunit_test.go (+46/-0) cmd/juju/cmd_test.go (+17/-0) cmd/juju/main.go (+1/-0) cmd/juju/main_test.go (+1/-0) |
||||
To merge this branch: | bzr merge lp:~dave-cheney/juju-core/go-cmd-juju-add-unit | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+118280@code.launchpad.net |
Description of the change
To post a comment you must log in.
Code looks fine, but:
https:/ /codereview. appspot. com/6449093/ diff/4001/ cmd/juju/ addunit. go
File cmd/juju/addunit.go (right):
https:/ /codereview. appspot. com/6449093/ diff/4001/ cmd/juju/ addunit. go#newcode1 addunit. go:1: package main
cmd/juju/
Can we call this add-unit please? Non-matching names just bug me :).
https:/ /codereview. appspot. com/6449093/ diff/4001/ cmd/juju/ addunit. go#newcode51 addunit. go:51: st, err := conn.State()
cmd/juju/
I *think* that this is Doing It Wrong, and that Conn clients are not
meant to interact with state directly, but I may have the wrong end of
the stick.
https:/ /codereview. appspot. com/6449093/