diff options
author | Scott Moser <smoser@brickies.net> | 2017-06-01 10:39:34 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-06-01 10:52:55 -0400 |
commit | 79236a629f1e0e61b260d0cb995b6299a5c7aac1 (patch) | |
tree | ac41475e4344b4307f9ff67780fdfcd2c8c36609 /tests/unittests/test_ds_identify.py | |
parent | 0a448dd034883c07f85091dbfc9117de7227eb8d (diff) | |
download | vyos-cloud-init-79236a629f1e0e61b260d0cb995b6299a5c7aac1.tar.gz vyos-cloud-init-79236a629f1e0e61b260d0cb995b6299a5c7aac1.zip |
tools/net-convert.py: support old cloudinit versions by using kwargs.
Older cloud-init versions have a bug in the signature of the
render_network_state method for netplan (bug 1685944).
The old had:
render_network_state(target, network_state)
The fix was to change netplan's so it had the correct signature:
render_network_state(network_state, target)
This just changes our caller to use kwargs style when invoking that
method so that it works with either the broken form or correct form.
Diffstat (limited to 'tests/unittests/test_ds_identify.py')
0 files changed, 0 insertions, 0 deletions