mirror of https://github.com/docker/cli.git
Merge pull request #29752 from allencloud/fix-nits-in-comments
fix nits in comments
This commit is contained in:
commit
c27216af3d
|
@ -37,7 +37,7 @@ func runUnlock(dockerCli *command.DockerCli, opts unlockOptions) error {
|
|||
client := dockerCli.Client()
|
||||
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.
|
||||
info, err := client.Info(ctx)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue