Browse Source

Merge pull request #27953 from thaJeztah/fix-deprecation-version

Update deprecation versions for "email" and colon in "security options"
Michael Crosby 8 years ago
parent
commit
74bdacb908
2 changed files with 3 additions and 3 deletions
  1. 2 2
      cli/command/registry/login.go
  2. 1 1
      daemon/daemon_unix.go

+ 2 - 2
cli/command/registry/login.go

@@ -39,9 +39,9 @@ func NewLoginCommand(dockerCli *command.DockerCli) *cobra.Command {
 	flags.StringVarP(&opts.user, "username", "u", "", "Username")
 	flags.StringVarP(&opts.user, "username", "u", "", "Username")
 	flags.StringVarP(&opts.password, "password", "p", "", "Password")
 	flags.StringVarP(&opts.password, "password", "p", "", "Password")
 
 
-	// Deprecated in 1.11: Should be removed in docker 1.13
+	// Deprecated in 1.11: Should be removed in docker 1.14
 	flags.StringVarP(&opts.email, "email", "e", "", "Email")
 	flags.StringVarP(&opts.email, "email", "e", "", "Email")
-	flags.MarkDeprecated("email", "will be removed in 1.13.")
+	flags.MarkDeprecated("email", "will be removed in 1.14.")
 
 
 	return cmd
 	return cmd
 }
 }

+ 1 - 1
daemon/daemon_unix.go

@@ -168,7 +168,7 @@ func parseSecurityOpt(container *container.Container, config *containertypes.Hos
 			con = strings.SplitN(opt, "=", 2)
 			con = strings.SplitN(opt, "=", 2)
 		} else if strings.Contains(opt, ":") {
 		} else if strings.Contains(opt, ":") {
 			con = strings.SplitN(opt, ":", 2)
 			con = strings.SplitN(opt, ":", 2)
-			logrus.Warn("Security options with `:` as a separator are deprecated and will be completely unsupported in 1.13, use `=` instead.")
+			logrus.Warn("Security options with `:` as a separator are deprecated and will be completely unsupported in 1.14, use `=` instead.")
 		}
 		}
 
 
 		if len(con) != 2 {
 		if len(con) != 2 {