Return error if etcd_endpoints variable is missing

This commit is contained in:
2025-01-18 12:07:08 +01:00
parent 78b8c2d48a
commit b885893879
2 changed files with 9 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ func getArgvFilename() string {
func main() {
_, err := config.LoadConfig()
if err != nil {
log.Println("Error from config loader", err)
log.Fatalf("Error from config loader: %s", err)
}
// setup etcd client