Skip to content

Commit

Permalink
check context builder endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed May 24, 2022
1 parent 4a215a9 commit e775fd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ func driversForNodeGroup(ctx context.Context, dockerCli command.Cli, ng *store.N
if err != nil {
return nil, err
}
if _, err = dockerapi.Ping(ctx); err != nil {
return nil, err
}
f, err = driver.GetDefaultFactory(ctx, ep, dockerapi, false)
if err != nil {
return nil, err
Expand Down

0 comments on commit e775fd2

Please sign in to comment.