161b2a50c3
When pinning by digest, the registry might be slow or unresponsive. This
could cause the context to already be expired by the time UpdateService
or CreateService is called. We want digest pinning to be a best-effort
operation, so it's problematic if a slow or misbehaving registry
prevents the service operation from completing. Replace the context
after communicating with the registry, so we have a fresh timeout for
the gRPC call.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
convert | ||
executor | ||
provider | ||
cluster.go | ||
filters.go | ||
helpers.go | ||
listen_addr.go | ||
listen_addr_linux.go | ||
listen_addr_others.go | ||
listen_addr_solaris.go | ||
secrets.go |