mirror of
https://github.com/containerd/containerd.git
synced 2026-08-12 22:16:27 +00:00
Go only allows one User-Agent, so we should use containerd/version as User-Agent only if it's empty. ref: https://github.com/golang/go/blob/go1.23.0/src/net/http/h2_bundle.go#L9188-L9191 Signed-off-by: Jin Dong <djdongjin95@gmail.com>