Skip to content

Commit ce3bb3c

Browse files
committed
add envDefault
1 parent 36fab7d commit ce3bb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/pkg/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ type RateLimitConfiguration struct {
449449
Debug bool `yaml:"debug" envDefault:"false" env:"RATE_LIMIT_DEBUG"`
450450
KeySuffixExpression string `yaml:"key_suffix_expression,omitempty" env:"RATE_LIMIT_KEY_SUFFIX_EXPRESSION"`
451451
ErrorExtensionCode RateLimitErrorExtensionCode `yaml:"error_extension_code"`
452-
FailOpen bool `yaml:"fail_open" env:"RATE_LIMIT_FAIL_OPEN"`
452+
FailOpen bool `yaml:"fail_open" envDefault:"false" env:"RATE_LIMIT_FAIL_OPEN"`
453453
}
454454

455455
type RateLimitErrorExtensionCode struct {

0 commit comments

Comments
 (0)