From ef56430868a6c8ad5a9c5a839af6b0fc0f5f88e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 25 Nov 2024 13:27:04 +0100 Subject: [PATCH] Add whitespace --- internal/env/env.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/env/env.go b/internal/env/env.go index 88dfac5..b12c4cc 100644 --- a/internal/env/env.go +++ b/internal/env/env.go @@ -125,12 +125,15 @@ func FromEnv() (*Config, error) { if authToken == "" { errs = append(errs, fmt.Errorf("%s is required", EnvVarAuthToken)) } + if mainRunnerServerURI == "" { errs = append(errs, fmt.Errorf("%s is required", EnVarTaskBrokerURI)) } + if mainServerURI == "" { errs = append(errs, fmt.Errorf("%s is required", EnvVarMainServerURI)) } + if runnerServerEnabled != "true" { errs = append(errs, fmt.Errorf("%s is required to be 'true'", EnvVarRunnerServerEnabled)) }