From f414bf7892d7001c5e8bcf2f849d2dda42fd6642 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 17 Jan 2024 08:18:39 +0100 Subject: [PATCH] fix engine version require to use healthcheck.start_interval Signed-off-by: Nicolas De Loof --- pkg/compose/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/convert.go b/pkg/compose/convert.go index 9e7375b46..e9ff7838b 100644 --- a/pkg/compose/convert.go +++ b/pkg/compose/convert.go @@ -74,7 +74,7 @@ func (s *composeService) ToMobyHealthCheck(ctx context.Context, check *compose.H return nil, err } if versions.LessThan(version, "1.44") { - return nil, errors.New("can't set healthcheck.start_interval as feature require Docker Engine 1.25 or later") + return nil, errors.New("can't set healthcheck.start_interval as feature require Docker Engine v25 or later") } else { startInterval = time.Duration(*check.StartInterval) }