locking/locks.go: uppercase ID in message

We convert a log message to use the uppercase abbreviation
"ID" instead of the lowercase variant.
This commit is contained in:
Chris Darroch 2022-01-27 21:30:37 -08:00
parent 00dfbf78aa
commit 7e4eaa0046

@ -156,7 +156,7 @@ func getAbsolutePath(p string) (string, error) {
func (c *Client) UnlockFile(path string, force bool) error {
id, err := c.lockIdFromPath(path)
if err != nil {
return errors.New(tr.Tr.Get("unable to get lock id: %v", err))
return errors.New(tr.Tr.Get("unable to get lock ID: %v", err))
}
return c.UnlockFileById(id, force)