cmd/juju/agent: Hard code loop manager #4709

Merged
merged 1 commit into from Mar 15, 2016

Conversation

Projects
None yet
2 participants
Contributor

davecheney commented Mar 14, 2016

cmd/jujud/agent.MachineAgentFactoryFn only had one caller, who's
argument for the loop manager was hard coded. Push this down to the
jujud/agent method and add a variant of this function in test scope that
supplies a noop mock loop manager.

(Review request: http://reviews.vapour.ws/r/4147/)

Contributor

davecheney commented Mar 14, 2016

$$JFDI$$

Contributor

jujubot commented Mar 14, 2016

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

Contributor

jujubot commented Mar 14, 2016

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

cmd/juju/agent: Hard code loop manager
cmd/jujud/agent.MachineAgentFactoryFn only had one caller, who's
argument for the loop manager was hard coded. Push this down to the
jujud/agent method and add a variant of this function in test scope that
supplies a noop mock loop manager.
Contributor

davecheney commented Mar 15, 2016

$$merge$$

Contributor

jujubot commented Mar 15, 2016

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

jujubot added a commit that referenced this pull request Mar 15, 2016

Merge pull request #4709 from davecheney/cmd-jujud-agent-tidy-up
cmd/juju/agent: Hard code loop manager

cmd/jujud/agent.MachineAgentFactoryFn only had one caller, who's
argument for the loop manager was hard coded. Push this down to the
jujud/agent method and add a variant of this function in test scope that
supplies a noop mock loop manager.

(Review request: http://reviews.vapour.ws/r/4147/)

@jujubot jujubot merged commit 78f026b into juju:master Mar 15, 2016

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