Do not ignore error returned from lock.Unlock()
This commit is contained in:
parent
8fff2b7d69
commit
055406a783
|
@ -166,7 +166,7 @@ func (store FileStore) UnlockUpload(id string) error {
|
||||||
err = nil
|
err = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// newLock contructs a new Lockfile instance.
|
// newLock contructs a new Lockfile instance.
|
||||||
|
|
Loading…
Reference in New Issue