fix: pure SSH list lock command name

Fix typo in the command name.

Fixes: c07c98a755c9 ("locking: provide a pure SSH transport")
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
This commit is contained in:
Ayman Bagabas 2022-12-09 16:30:59 -05:00
parent 13e6543151
commit e018e163f7
No known key found for this signature in database
GPG Key ID: 758FD42981CE1778

@ -228,7 +228,7 @@ func (c *sshLockClient) SearchVerifiable(remote string, vreq *lockVerifiableRequ
conn := c.connection()
conn.Lock()
defer conn.Unlock()
err := conn.SendMessage("list-locks", args)
err := conn.SendMessage("list-lock", args)
if err != nil {
return nil, 0, err
}