From faac17728583bfd6342603addb0937d86cd430ca Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Sat, 29 Oct 2016 15:03:26 +0800 Subject: [PATCH] Fix bunch of typos Signed-off-by: Qiang Huang --- command/registry/logout.go | 2 +- command/swarm/join_token.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/registry/logout.go b/command/registry/logout.go index 5d80595ff0..a735818049 100644 --- a/command/registry/logout.go +++ b/command/registry/logout.go @@ -47,7 +47,7 @@ func runLogout(dockerCli *command.DockerCli, serverAddress string) error { ) if !isDefaultRegistry { hostnameAddress = registry.ConvertToHostname(serverAddress) - // the tries below are kept for backward compatibily where a user could have + // the tries below are kept for backward compatibility where a user could have // saved the registry in one of the following format. regsToTry = append(regsToTry, hostnameAddress, "http://"+hostnameAddress, "https://"+hostnameAddress) } diff --git a/command/swarm/join_token.go b/command/swarm/join_token.go index b411202083..3a17a8020f 100644 --- a/command/swarm/join_token.go +++ b/command/swarm/join_token.go @@ -46,7 +46,7 @@ func newJoinTokenCommand(dockerCli *command.DockerCli) *cobra.Command { return err } if !quiet { - fmt.Fprintf(dockerCli.Out(), "Succesfully rotated %s join token.\n\n", args[0]) + fmt.Fprintf(dockerCli.Out(), "Successfully rotated %s join token.\n\n", args[0]) } }