mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: add TODO to refactor docker client method
This commit is contained in:
1 parent
4d591f9efc
commit
6da8e98c62
1 file changed
+1
@@ -16,6 +16,7 @@ type Client struct {
|
||||
}
|
||||
|
||||
// WaitDaemonReady waits for the Docker daemon to start and be ready to serve requests.
|
||||
// TODO(lhf): convert into a Client method.
|
||||
func WaitDaemonReady(ctx context.Context, cli *client.Client) error {
|
||||
// Retry to ping the Docker daemon until it's ready or the context is canceled.
|
||||
boff := backoff.WithContext(backoff.NewExponentialBackOff(
|
||||
|
||||
Reference in new issue
Block a user