Commit a98faa1f authored by Mike Danese's avatar Mike Danese

fixed bug in tools.NewEtcdClientStartServerIfNecessary

parent 7aaf76af
......@@ -377,7 +377,7 @@ func checkEtcd(host string) error {
if err != nil {
return err
}
if !strings.HasPrefix("etcd", string(body)) {
if !strings.HasPrefix(string(body), "etcd") {
return fmt.Errorf("unknown server: %s", string(body))
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment