functional-test: move the check on log-outputs out of the 'if clientTLS' branch
@@ -356,6 +356,7 @@ func read(lg *zap.Logger, fpath string) (*Cluster, error) {
}
clus.Members[i].ClientCertData = string(data)
}
+ }
if len(mem.Etcd.LogOutputs) == 0 {
return nil, fmt.Errorf("mem.Etcd.LogOutputs cannot be empty")
@@ -370,7 +371,6 @@ func read(lg *zap.Logger, fpath string) (*Cluster, error) {
}
}
}
- }
return clus, err
}
