fix engine version require to use healthcheck.start_interval

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2024-01-17 08:18:39 +01:00 committed by Nicolas De loof
parent 3c4593f2ad
commit f414bf7892
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}