fix(config): reject an empty checker region

UPTIME_CHECKER_REGION= passed the required check and started a checker
that no monitor could ever be assigned to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-22 00:18:02 +01:00
1 parent 70190446ff
commit ea6f022112
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ func (a API) Validate() error {
type Checker struct {
Common
Region string `env:"UPTIME_CHECKER_REGION,required"`
Region string `env:"UPTIME_CHECKER_REGION,required,notEmpty"`
HealthListen string `env:"UPTIME_CHECKER_HEALTH_LISTEN" envDefault:":8081"`
}