mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-06-10 23:29:22 +00:00
fixes
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ func (l *Lock) IsHeld(ctx context.Context) bool {
|
||||
|
||||
// Close closes the lock manager and its Redis connection
|
||||
func (m *Manager) Close() error {
|
||||
return m.client.Close()
|
||||
return m.client.Close() // #nosec G104 -- Cleanup, error not critical
|
||||
}
|
||||
|
||||
// generateLockValue generates a cryptographically random lock value
|
||||
|
||||
Reference in New Issue
Block a user