mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
modify func namt from TestUserAgentPassThroughOnPull to TestUserAgentPassThrough
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
8b69fc4e88
commit
427869fe94
1 changed files with 2 additions and 2 deletions
|
@ -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
|
// 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) {
|
func (s *DockerRegistrySuite) TestUserAgentPassThrough(c *check.C) {
|
||||||
var (
|
var (
|
||||||
buildUA string
|
buildUA string
|
||||||
|
|
Loading…
Add table
Reference in a new issue