Skip to content

Commit

Permalink
internal/testcontainersdocker: close unused client (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderYastrebov committed Aug 6, 2023
1 parent 5011016 commit d1c291e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/testcontainersdocker/docker_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func extractDockerSocket(ctx context.Context) string {
if err != nil {
panic(err) // a Docker client is required to get the Docker info
}
defer cli.Close()

return extractDockerSocketFromClient(ctx, cli)
}
Expand Down

0 comments on commit d1c291e

Please sign in to comment.