summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2017-04-24 16:40:35 -0500
committerScott Moser <smoser@brickies.net>2017-05-16 16:28:25 -0400
commit64a3df16d9c63db470a3ba55d9c5cc8e05d050d7 (patch)
treef4ab0a6b825532843df5fb7e46317be6e48f9d71 /packages
parent9a178611b89ca198145c200718ab8f205ece398c (diff)
downloadvyos-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')
0 files changed, 0 insertions, 0 deletions