Remove attempt to update the cluster, just restart it (v0.12 is not ready for update)

This commit is contained in:
Michael Vines
2019-03-22 16:25:27 -07:00
parent e189c429d5
commit b91afb7079

View File

@ -280,28 +280,17 @@ stop)
stop
;;
update-or-restart)
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
echo "+++ Restarting the network"
start
fi
;;
sanity-or-restart)
if sanity; then
echo Pass
else
echo "+++ Sanity failed, updating the network"
echo "+++ Sanity failed, restarting the network"
$metricsWriteDatapoint "testnet-manager sanity-failure=1"
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
fi
;;
esac