Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
state: add machine storage for subordinates #6336
Conversation
|
QA
|
| + out.volumeAttachments[k] = v | ||
| + } | ||
| + for k, v := range rhs.volumeAttachments { | ||
| + out.volumeAttachments[k] = v |
mjs
Sep 28, 2016
Contributor
I presume it's by design that the rhs wins if the same key appears in both sides?
axw
Sep 28, 2016
Member
Storage instances cannot share a volume/filesystem (attachment), so it's impossible.
| +} | ||
| + | ||
| +func (u *Unit) assignToCleanMaybeEmptyMachineOps(requireEmpty bool) (_ *Machine, _ []txn.Op, err error) { | ||
| + failure := func(err error) (*Machine, []txn.Op, error) { |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit e5fc227
into
juju:master
Sep 28, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedSep 28, 2016
When a subordinate unit is added, create its
machine storage when the principal unit is
assigned to a machine.
Fixes https://bugs.launchpad.net/juju/+bug/1595617