Simplify the multiversion handling in subnets #8

Merged
merged 1 commit into from Apr 28, 2017

Conversation

Projects
None yet
3 participants
Member

babbageclunk commented Mar 27, 2017

Pull out some duplicated code. Put all of the version-dependent code in
one place - that should be the only part that needs to change when a new
version is added.

I think this is probably a good way to structure the multi-version code for other
types too - I'm going to use it the next time I need to do this.

Simplify the multiversion handling in subnets
Pull out some duplicated code. Put all of the version-dependent code in
one place - that should be the only part that needs to change when a new
version is added.

mjs approved these changes Apr 6, 2017

This is certainly nicer. Thanks.

Member

babbageclunk commented Apr 6, 2017

$$merge$$

@axw axw merged commit 8a09b5a into juju:master Apr 28, 2017

@babbageclunk babbageclunk deleted the babbageclunk:subnet-simplify branch Apr 28, 2017

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