mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
modify func namt from TestUserAgentPassThroughOnPull to TestUserAgentPassThrough
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
@@ -59,9 +59,9 @@ func registerUserAgentHandler(reg *testRegistry, result *string) {
|
||||
})
|
||||
}
|
||||
|
||||
// TestUserAgentPassThroughOnPull verifies that when an image is pulled from
|
||||
// TestUserAgentPassThrough verifies that when an image is pulled from
|
||||
// a registry, the registry should see a User-Agent string of the form
|
||||
// [docker engine UA] UptreamClientSTREAM-CLIENT([client UA])
|
||||
// [docker engine UA] UptreamClientSTREAM-CLIENT([client UA])
|
||||
func (s *DockerRegistrySuite) TestUserAgentPassThrough(c *check.C) {
|
||||
var (
|
||||
buildUA string
|
||||
|
||||
Reference in New Issue
Block a user