functional-tester/cmd/etcd-tester: check error from "Bootstrap"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
c1a8c73f9a
commit
194cdede89
|
@ -45,6 +45,9 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
err = clus.Bootstrap()
|
err = clus.Bootstrap()
|
||||||
|
if err != nil {
|
||||||
|
logger.Fatal("Bootstrap failed", zap.Error(err))
|
||||||
|
}
|
||||||
defer clus.DestroyEtcdAgents()
|
defer clus.DestroyEtcdAgents()
|
||||||
|
|
||||||
err = clus.WaitHealth()
|
err = clus.WaitHealth()
|
||||||
|
|
Loading…
Reference in New Issue