diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-06-02 16:45:12 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-06-04 13:56:28 +0900 |
commit | 03c67d368dfa19bba6f070b060fb15aace4dd703 (patch) | |
tree | e4b2025432232710cb71b2d181623da36fc4d938 /ryu/tests/unit/test_utils.py | |
parent | 574e417d9d991f9e7f9aba7fde2b91b45b8d8152 (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