Files
containerd/client
Paweł Gronowski bed6d14010 client/New: Don't unlazy the gRPC connection implicitly
When moving to gRPC 1.64 (commit 63b4688175) the usage of the deprecated
`grpc.DialContext` was replaced with `grpc.NewClient`. However, this
change also required to drop the `WithBlock` option, which made sure
that the connection is actually established before returning.

Now, `grpc.NewClient` doesn't attempt to perform the connection but
defers it to the actual first RPC.

Querying the default runtime on client creation breaks that property
depending on whether the default namespace is set or not.

This commit defers the `runtime` field initialization to the first time
the field is actually needed.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-09 19:48:23 +00:00
..
2024-10-18 16:04:54 -07:00
2024-05-02 11:03:00 -07:00
2024-10-18 16:04:54 -07:00
2024-01-17 09:51:26 -08:00
2024-01-17 09:55:39 -08:00
2024-10-18 16:04:54 -07:00
2024-01-25 22:18:45 -08:00
2024-01-25 22:18:45 -08:00
2023-11-01 10:37:00 -07:00
2024-03-01 23:07:42 -08:00
2024-01-17 09:51:45 -08:00
2024-10-18 16:04:54 -07:00
2023-11-01 10:37:00 -07:00
2024-10-18 16:04:54 -07:00
2024-02-10 18:02:05 -08:00