fix nits in comments

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-12-23 20:48:25 +08:00
parent 3e7dca7900
commit 4e68d651b3
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func runUnlock(dockerCli *command.DockerCli, opts unlockOptions) error {
client := dockerCli.Client() client := dockerCli.Client()
ctx := context.Background() ctx := context.Background()
// First see if the node is actually part of a swarm, and if it's is actually locked first. // First see if the node is actually part of a swarm, and if it is actually locked first.
// If it's in any other state than locked, don't ask for the key. // If it's in any other state than locked, don't ask for the key.
info, err := client.Info(ctx) info, err := client.Info(ctx)
if err != nil { if err != nil {