diff options
author | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-02-20 13:47:59 +0000 |
---|---|---|
committer | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-02-20 13:51:53 +0000 |
commit | fa9e51776151df5ce23d56671ea05501e0cefb04 (patch) | |
tree | 23397a69bd7a7b3af0ba506dffe4fa06ab902d90 /jjb/dpacc | |
parent | 38227c4e53395ba7baefdec8d323d6d2f83c975d (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 'jjb/dpacc')
0 files changed, 0 insertions, 0 deletions