diff --git a/cmd/boulder-va/main.go b/cmd/boulder-va/main.go index 1c998bc9787..4fd45ea2c8e 100644 --- a/cmd/boulder-va/main.go +++ b/cmd/boulder-va/main.go @@ -32,7 +32,7 @@ type Config struct { DNSAllowLoopbackAddresses bool RemoteVAs []cmd.GRPCClientConfig `validate:"omitempty,dive"` - MaxRemoteValidationFailures int + MaxRemoteValidationFailures int `validate:"omitempty,min=0,required_with=RemoteVAs"` Features map[string]bool