Merge lp:~dave-cheney/juju-core/go-juju-update-secrets 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: | 338 | ||||
Proposed branch: | lp:~dave-cheney/juju-core/go-juju-update-secrets | ||||
Merge into: | lp:~juju/juju-core/trunk | ||||
Diff against target: |
133 lines (+75/-4) 2 files modified
juju/conn.go (+29/-0) juju/conn_test.go (+46/-4) |
||||
To merge this branch: | bzr merge lp:~dave-cheney/juju-core/go-juju-update-secrets | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+116694@code.launchpad.net |
Description of the change
juju: update secrets when calling conn.State()
Calls to conn.State() push the secrets to the state
behind the scenes.
To post a comment you must log in.
https:/ /codereview. appspot. com/6452044/ diff/11001/ juju/conn. go
File juju/conn.go (right):
https:/ /codereview. appspot. com/6452044/ diff/11001/ juju/conn. go#newcode92
juju/conn.go:92: env.Update(secrets)
As we discussed live, we want to only do this if there are actually no
secrets in state yet.
https:/ /codereview. appspot. com/6452044/