mirror of https://github.com/apache/cloudstack.git
vxlan: Fix failure to delete vxlan (#5079)
This commit is contained in:
parent
29109b4332
commit
5edcf33ff0
|
|
@ -376,7 +376,9 @@ public class BridgeVifDriver extends VifDriverBase {
|
|||
command.add("-v", vNetId);
|
||||
command.add("-p", pName);
|
||||
command.add("-b", brName);
|
||||
command.add("-d", String.valueOf(deleteBr));
|
||||
if (cmdout != null && !cmdout.contains("vxlan")) {
|
||||
command.add("-d", String.valueOf(deleteBr));
|
||||
}
|
||||
|
||||
final String result = command.execute();
|
||||
if (result != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue