diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2017-04-24 16:40:35 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-05-16 16:28:25 -0400 |
commit | 64a3df16d9c63db470a3ba55d9c5cc8e05d050d7 (patch) | |
tree | f4ab0a6b825532843df5fb7e46317be6e48f9d71 /packages/bddeb | |
parent | 9a178611b89ca198145c200718ab8f205ece398c (diff) | |
download | vyos-cloud-init-64a3df16d9c63db470a3ba55d9c5cc8e05d050d7.tar.gz vyos-cloud-init-64a3df16d9c63db470a3ba55d9c5cc8e05d050d7.zip |
tools/net-convert: fix argument order for render_network_state
We're calling Renderer.render_network_state() with incorrect args.
% PYTHONPATH=`pwd` ./tools/net-convert.py \
--network-data=simple-v2.yaml --kind=yaml \
--output-kind netplan --directory ./target
Traceback (most recent call last):
File "./tools/net-convert.py", line 82, in <module>
main()
File "./tools/net-convert.py", line 78, in main
r.render_network_state(ns, target=args.directory)
TypeError: render_network_state() got multiple values for argument 'target'
The method signature requires passing <target dir>, <network_state>.
This patch fixes the call order.
LP: #1685944
Diffstat (limited to 'packages/bddeb')
0 files changed, 0 insertions, 0 deletions