Browse Source

functional-tester/cmd/etcd-tester: check error from "Bootstrap"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
194cdede89
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/functional-tester/cmd/etcd-tester/main.go

+ 3 - 0
tools/functional-tester/cmd/etcd-tester/main.go

@@ -45,6 +45,9 @@ func main() {
 	}
 
 	err = clus.Bootstrap()
+	if err != nil {
+		logger.Fatal("Bootstrap failed", zap.Error(err))
+	}
 	defer clus.DestroyEtcdAgents()
 
 	err = clus.WaitHealth()