state: Removed ForModel call in controller address lookup #7516

Merged
merged 1 commit into from Jun 20, 2017

Conversation

Projects
None yet
3 participants
Contributor

mjs commented Jun 20, 2017

Description of change

State.controllerAddresses() was unnecessarily using expensive ForModel calls.

QA steps

It turns out that this code is only called by tests. Unit tests still pass.

Documentation changes

N.A.

Bug reference

https://bugs.launchpad.net/juju/+bug/1698703

state: Removed ForModel call in controller address lookup
This is was expensive and unnecessary.

axw approved these changes Jun 20, 2017

Contributor

mjs commented Jun 20, 2017

$$merge$$

Contributor

jujubot commented Jun 20, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

Contributor

jujubot commented Jun 20, 2017

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/11160

Contributor

jujubot commented Jun 20, 2017

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/11161

@jujubot jujubot merged commit 8a01312 into juju:develop Jun 20, 2017

1 check passed

github-check-merge-juju Ran tests against PR. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details

@mjs mjs deleted the mjs:1698703-controller-addrs-ForModel branch Jun 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment