mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Updated account threshold test
This commit is contained in:
committed by
Dan Christian Bogos
parent
7e7657b30d
commit
2a6f2c140a
@@ -175,9 +175,9 @@ func (gl *GuardianLocker) GuardIDs(refID string, timeout time.Duration, lkIDs ..
|
||||
}
|
||||
|
||||
// UnguardIDs attempts to unlock a set of locks based on their reference ID received on lock
|
||||
func (gl *GuardianLocker) UnguardIDs(refID string) (_ []string) {
|
||||
if refID == "" {
|
||||
return
|
||||
func (gl *GuardianLocker) UnguardIDs(refID string) []string {
|
||||
if refID != "" {
|
||||
return gl.unlockWithReference(refID)
|
||||
}
|
||||
return gl.unlockWithReference(refID)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user