Skip to content

Filter blank lines from default_config#156

Open
nonk123 wants to merge 2 commits intoBigBoot:masterfrom
nonk123:master
Open

Filter blank lines from default_config#156
nonk123 wants to merge 2 commits intoBigBoot:masterfrom
nonk123:master

Conversation

@nonk123
Copy link

@nonk123 nonk123 commented Dec 16, 2025

Blank lines inside default_settings cause a cryptic parsing error along the lines of:

ERROR: Invalid config: Found invalid config 'kuma.default_settings': 

(Also note the wrong setting name; it's supposed to be default_settings without kuma.)

Example default_config which causes this:

      AUTOKUMA__DEFAULT_SETTINGS: |-
        http.notification_name_list: ["tg"]
        port.notification_name_list: ["tg"]
        group.notification_name_list: []
        
        http.expiry_notification: true
        http.max_redirects: 10
        
        *.interval: 20
        *.max_retries: 3

Otherwise, they cause a cryptic parsing error along the lines of:

```
ERROR: Invalid config: Found invalid config 'kuma.default_settings':
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant