1
0
mirror of https://github.com/docker/cli.git synced 2025-08-30 12:01:10 +03:00

Remove unused helath check func

During the refactoring for 18.09 the activate/update flows no longer
restart the engine explicitly but let the user do that when they're ready,
so the health check logic is no longer required.

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
(cherry picked from commit f2b2061cc3)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Daniel Hiltgen
2018-10-01 15:12:09 -07:00
committed by Sebastiaan van Stijn
parent 7808348548
commit a4aba23b85
6 changed files with 22 additions and 42 deletions

View File

@@ -33,13 +33,11 @@ type ContainerizedClient interface {
ActivateEngine(ctx context.Context,
opts EngineInitOptions,
out OutStream,
authConfig *types.AuthConfig,
healthfn func(context.Context) error) error
authConfig *types.AuthConfig) error
DoUpdate(ctx context.Context,
opts EngineInitOptions,
out OutStream,
authConfig *types.AuthConfig,
healthfn func(context.Context) error) error
authConfig *types.AuthConfig) error
}
// EngineInitOptions contains the configuration settings