Skip to content

Commit

Permalink
fix: Connecting timeout to wait for buildkitd is ignored (#230)
Browse files Browse the repository at this point in the history
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
  • Loading branch information
terrytangyuan committed Jun 2, 2022
1 parent 8c0c98d commit e0194f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/buildkitd/buildkitd.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (c *generalClient) maybeStart(ctx context.Context,
}
c.logger.Debug("container is running, check if it's ready...")

if err := c.waitUntilConnected(ctx, runningTimeout); err != nil {
if err := c.waitUntilConnected(ctx, connectingTimeout); err != nil {
return "", errors.Wrap(err, "failed to connect to buildkitd")
}

Expand Down

0 comments on commit e0194f9

Please sign in to comment.