Skip to content

Commit f414bf7

Browse files
committed
fix engine version require to use healthcheck.start_interval
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 3c4593f commit f414bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (s *composeService) ToMobyHealthCheck(ctx context.Context, check *compose.H
7474
return nil, err
7575
}
7676
if versions.LessThan(version, "1.44") {
77-
return nil, errors.New("can't set healthcheck.start_interval as feature require Docker Engine 1.25 or later")
77+
return nil, errors.New("can't set healthcheck.start_interval as feature require Docker Engine v25 or later")
7878
} else {
7979
startInterval = time.Duration(*check.StartInterval)
8080
}

0 commit comments

Comments
 (0)