Skip to content

Commit 6ffbc8a

Browse files
committed
fix: correct fly.toml http_checks array format
- Change from nested [http_service.checks] object to [[http_service.http_checks]] array - Fixes fly launch validation error: cannot unmarshal object into array - Health check configuration now uses proper TOML array syntax
1 parent 10626c8 commit 6ffbc8a

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

fly.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ primary_region = 'hkg'
2121
processes = ['app']
2222

2323
# Health check configuration
24-
[http_service.checks]
25-
[http_service.checks.health]
26-
grace_period = "10s"
27-
interval = "30s"
28-
method = "GET"
29-
timeout = "5s"
30-
path = "/actuator/health"
24+
[[http_service.http_checks]]
25+
grace_period = "10s"
26+
interval = "30s"
27+
method = "GET"
28+
timeout = "5s"
29+
path = "/actuator/health"
3130

3231
[[vm]]
3332
memory = '1gb'

0 commit comments

Comments
 (0)