Remove attempt to update the cluster, just restart it (v0.12 is not ready for update)
This commit is contained in:
@ -280,27 +280,16 @@ stop)
|
|||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
update-or-restart)
|
update-or-restart)
|
||||||
if start "" update; then
|
echo "+++ Restarting the network"
|
||||||
echo Update successful
|
start
|
||||||
else
|
|
||||||
echo "+++ Update failed, restarting the network"
|
|
||||||
$metricsWriteDatapoint "testnet-manager update-failure=1"
|
|
||||||
start
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
sanity-or-restart)
|
sanity-or-restart)
|
||||||
if sanity; then
|
if sanity; then
|
||||||
echo Pass
|
echo Pass
|
||||||
else
|
else
|
||||||
echo "+++ Sanity failed, updating the network"
|
echo "+++ Sanity failed, restarting the network"
|
||||||
$metricsWriteDatapoint "testnet-manager sanity-failure=1"
|
$metricsWriteDatapoint "testnet-manager sanity-failure=1"
|
||||||
if start "" update; then
|
start
|
||||||
echo Update successful
|
|
||||||
else
|
|
||||||
echo "+++ Update failed, restarting the network"
|
|
||||||
$metricsWriteDatapoint "testnet-manager update-failure=1"
|
|
||||||
start
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user