Skip to content

Commit a110418

Browse files
committed
fix: correct Healthcheck field name to HealthConfig in testcontainer request
1 parent 5d7085a commit a110418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func startMinioContainer(ctx context.Context) (testcontainers.Container, error)
526526
"MINIO_SCHEME": "http",
527527
"BITNAMI_DEBUG": "true",
528528
},
529-
Healthcheck: &container.HealthConfig{
529+
HealthConfig: &container.HealthConfig{
530530
Test: []string{"CMD-SHELL", "ls -la /bitnami/minio/data/testbucket/ || exit 1 && curl -skL http://localhost:9000/minio/health/live"},
531531
Interval: 1 * time.Second,
532532
Timeout: 3 * time.Second,

0 commit comments

Comments
 (0)