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:
parent
13e6543151
commit
e018e163f7
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user