moby/dockerversion
Sebastiaan van Stijn 9a1f2e6d7c
dockerversion: remove insertUpstreamUserAgent()
It was not really "inserting" anything, just formatting and appending.
Simplify this by changing this in to a `getUpstreamUserAgent()` function
which returns the upstream User-Agent (if any) into a `UpstreamClient()`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-01 18:21:58 +02:00
..
useragent.go dockerversion: remove insertUpstreamUserAgent() 2023-06-01 18:21:58 +02:00
useragent_test.go dockerversion: add a basic unit-test 2023-06-01 18:21:55 +02:00
version_lib.go IAmStatic not used anymore 2023-01-01 18:03:02 +01:00