Skip to content

Commit

Permalink
Add whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Nov 25, 2024
1 parent 54adca5 commit ef56430
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit ef56430

Please sign in to comment.