Replace switch statements with Bridge polymorphism

This commit is contained in:
Bryan Boreham committed 2017-04-20 15:57:49 +00:00
1 parent fddb3ee06e
commit a7feb41e62
5 files changed
+94 -106

No files matched your search

-4
View File
@@ -401,10 +401,6 @@ detect_bridge_type() {
fastdp)
DATAPATH="$BRIDGE"
;;
inconsistent)
echo "Inconsistent bridge state detected. Please do 'weave reset' and try again." >&2
exit 1
;;
*)
return 1
;;