Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
migrations: Add AdoptInstances to maas provider #6829
Conversation
|
!!chittychitty!! |
| + return errors.Errorf("instance %q wasn't a maas2Instance", instance.Id()) | ||
| + } | ||
| + // SetOwnerData will update the existing tags with this data. | ||
| + err := maas2Instance.machine.SetOwnerData(map[string]string{tags.JujuController: controllerUUID}) |
axw
Jan 18, 2017
Member
just want to confirm, SetOwnerData doesn't wipe out the existing keys != tags.JujuController?
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 920f411
into
juju:2.1
Jan 18, 2017
babbageclunk
deleted the
babbageclunk:mm-destroy-controller-maas
branch
Jan 18, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
babbageclunk commentedJan 18, 2017
Part of https://bugs.launchpad.net/juju/+bug/1648063
Implement AdoptInstances in the maas provider using machine.SetOwnerData.
QA steps - none, this code isn't runnable until the migration master is updated.