Merge lp:~themue/juju-core/go-provisioning-state into lp:~juju/juju-core/trunk
Proposed by
Frank Mueller
Status: | Merged |
---|---|
Approved by: | Gustavo Niemeyer |
Approved revision: | 334 |
Merged at revision: | 336 |
Proposed branch: | lp:~themue/juju-core/go-provisioning-state |
Merge into: | lp:~juju/juju-core/trunk |
Diff against target: |
229 lines (+25/-47) 3 files modified
cmd/jujud/provisioning.go (+10/-1) worker/provisioner/provisioner.go (+1/-7) worker/provisioner/provisioner_test.go (+14/-39) |
To merge this branch: | bzr merge lp:~themue/juju-core/go-provisioning-state |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+116832@code.launchpad.net |
Description of the change
provisioning: provisioner gets state as argument
As a preparation for the integration of the firewaller
into the provisioning agent provisioner has been changed
to get a state instead an info as argument. So both
later can share the same state.
To post a comment you must log in.
https:/ /codereview. appspot. com/6452049/ diff/1/ cmd/jujud/ provisioning. go provisioning. go (right):
File cmd/jujud/
https:/ /codereview. appspot. com/6452049/ diff/1/ cmd/jujud/ provisioning. go#newcode39 provisioning. go:39: st, err := state.Open( &a.Conf. StateInfo)
cmd/jujud/
Hmm.. I think we should Close and re-open the state connection with the
state in case of errors.
https:/ /codereview. appspot. com/6452049/