modify func namt from TestUserAgentPassThroughOnPull to TestUserAgentPassThrough
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn> Upstream-commit: 427869fe94c9d32daa29f964bbf4371bf2295748 Component: engine
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