Bläddra i källkod

Rebase from master

Signed-off-by: Liron Levin <liron@twistlock.com>
Liron Levin 9 år sedan
förälder
incheckning
f28230d35c
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 3 3
      api/server/server.go
  2. 1 1
      integration-cli/docker_cli_help_test.go

+ 3 - 3
api/server/server.go

@@ -41,9 +41,9 @@ type Config struct {
 
 // Server contains instance details for the server
 type Server struct {
-	cfg     *Config
-	servers []*HTTPServer
-	routers []router.Router
+	cfg          *Config
+	servers      []*HTTPServer
+	routers      []router.Router
 	authZPlugins []authorization.Plugin
 }
 

+ 1 - 1
integration-cli/docker_cli_help_test.go

@@ -133,7 +133,7 @@ func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
 			// Check each line for lots of stuff
 			lines := strings.Split(out, "\n")
 			for _, line := range lines {
-				c.Assert(len(line), checker.LessOrEqualThan, 91, check.Commentf("Help for %q is too long:\n%s", cmd, line))
+				c.Assert(len(line), checker.LessOrEqualThan, 103, check.Commentf("Help for %q is too long:\n%s", cmd, line))
 
 				if scanForHome && strings.Contains(line, `"`+home) {
 					c.Fatalf("Help for %q should use ~ instead of %q on:\n%s",