mirror of
https://github.com/docker/compose.git
synced 2026-08-03 22:27:30 +00:00
fix engine version require to use healthcheck.start_interval
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
3c4593f2ad
commit
f414bf7892
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue