network: fix quoting in bridgescript invocation #6758

Merged
merged 4 commits into from Jan 4, 2017

Conversation

Projects
None yet
5 participants
Contributor

frobware commented Jan 3, 2017

The deviceNames to bridge were being quoted as "[ens4 ens5]", when
they should have been just "ens4 ens5". This commit simplifies the
arguments passed to the invocation of the bridgescript.

network: fix quoting in bridgescript invocation
The deviceNames to bridge were being quoted as "[ens4 ens5]", when
they should have been just "ens4 ens5". This commit simplifies the
arguments passed to the invocation of the bridgescript.
Contributor

macgreagoir commented Jan 3, 2017

LGTM. The Sprintf argument list is getting long, so a potential text/template candidate? I don't find it especially hard to follow, though.

Contributor

frobware commented Jan 3, 2017

I need to EOD but will follow-up with unit tests.

looks good, tests would be good, certainly.

Contributor

frobware commented Jan 4, 2017

!!build!!

LGTM

One question around the use if the WallClock in tests.

Contributor

macgreagoir commented Jan 4, 2017

Just commenting to ack the new comment explaining the use of WallClock. Cheers!

Contributor

frobware commented Jan 4, 2017

$$merge$$

Contributor

jujubot commented Jan 4, 2017

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

@jujubot jujubot merged commit 5cfc58e into juju:2.1-dynamic-bridges Jan 4, 2017

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