Skip to content

Commit 1bf3b88

Browse files
Fix(sail): Correct YAML syntax in rustfs.stub healthcheck (#828)
* fix(rustfs): Correct healthcheck test YAML syntax The healthcheck.test command was defined using an invalid multi-line flow-style list ([]), which causes YAML parsing failures. This commit updates the definition to use the correct block-style list syntax (using -). Additionally, removes a trailing comma from the RUSTFS_LOG_LEVEL environment variable. * fix rustfs --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 8b97beb commit 1bf3b88

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

stubs/rustfs.stub

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ rustfs:
1313
RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS: '*'
1414
RUSTFS_ACCESS_KEY: 'sail'
1515
RUSTFS_SECRET_KEY: 'password'
16-
RUSTFS_LOG_LEVEL: 'info',
16+
RUSTFS_LOG_LEVEL: 'info'
1717
volumes:
1818
- 'sail-rustfs:/data'
1919
networks:
2020
- sail
2121
healthcheck:
22-
test:
23-
[
24-
"CMD",
25-
"sh", "-c",
26-
"curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/health"
27-
]
22+
test: ["CMD", "sh", "-c", "curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/health"]
2823
interval: 30s
2924
timeout: 10s
3025
retries: 3

0 commit comments

Comments
 (0)