summaryrefslogtreecommitdiffhomepage
path: root/ryu/tests/unit/test_utils.py
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-06-02 16:45:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-04 13:56:28 +0900
commit03c67d368dfa19bba6f070b060fb15aace4dd703 (patch)
treee4b2025432232710cb71b2d181623da36fc4d938 /ryu/tests/unit/test_utils.py
parent574e417d9d991f9e7f9aba7fde2b91b45b8d8152 (diff)
service/ovsdb: Default of controller_info in set_controller
Currently, api.set_controller in OVSDB service raises AttributeError if controller_info is None and controller is not found in current table. This patch sets the empty dict as the default value and fixes this problem. Reported-by: 胡鼎原 <hdyvip@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'ryu/tests/unit/test_utils.py')
0 files changed, 0 insertions, 0 deletions