Browse code

modify func namt from TestUserAgentPassThroughOnPull to TestUserAgentPassThrough

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/08/08 12:28:44
Showing 1 changed files
... ...
@@ -59,9 +59,9 @@ func registerUserAgentHandler(reg *testRegistry, result *string) {
59 59
 	})
60 60
 }
61 61
 
62
-// TestUserAgentPassThroughOnPull verifies that when an image is pulled from
62
+// TestUserAgentPassThrough verifies that when an image is pulled from
63 63
 // a registry, the registry should see a User-Agent string of the form
64
-//   [docker engine UA] UptreamClientSTREAM-CLIENT([client UA])
64
+// [docker engine UA] UptreamClientSTREAM-CLIENT([client UA])
65 65
 func (s *DockerRegistrySuite) TestUserAgentPassThrough(c *check.C) {
66 66
 	var (
67 67
 		buildUA string