Skip to content

Commit c1419c5

Browse files
committed
fix
1 parent d451c28 commit c1419c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/app/config.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ func NewConfig() (*Config, error) {
4242
cfg.AwsConsoleURL = "https://console.aws.amazon.com"
4343
}
4444

45+
if cfg.AutoCloseRulesS3Prefix == "" {
46+
cfg.AutoCloseRulesS3Prefix = "rules/"
47+
}
48+
4549
rulesJSON := os.Getenv("APP_AUTO_CLOSE_RULES")
4650
if rulesJSON != "" {
4751
rules, err := parseAutoCloseRules(rulesJSON)

0 commit comments

Comments
 (0)