aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv/__init__.py
diff options
context:
space:
mode:
authorJuan Vidal <juan.vidal.allende@ericsson.com>2017-02-20 13:47:59 +0000
committerJuan Vidal <juan.vidal.allende@ericsson.com>2017-02-20 13:51:53 +0000
commit5578128a47232c3be5c7b810530167b3ba346ecc (patch)
treec1a1456791526cf6f1bf940282d5991918183c8a /opnfv/__init__.py
parentbb67bf0617432cb902d4299c9f77559b0b22a7e9 (diff)
Fix dump_ovs_flows crashing when no nodes are passed
Although it makes no sense that the lists of controller/compute nodes are empty, the function should not crash. This check ensures that the directory where the logs are written to is always created before dumping anything. Change-Id: I3a1fd8ac8ab983decb0bc227a2a22286ff5e34ce Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
Diffstat (limited to 'opnfv/__init__.py')
0 files changed, 0 insertions, 0 deletions