mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Updated StatQueue handling in datamanager
This commit is contained in:
committed by
Dan Christian Bogos
parent
492946d363
commit
f0d3c435de
@@ -76,3 +76,15 @@ func CloneStringSlice(in []string) (cl []string) {
|
||||
copy(cl, in)
|
||||
return
|
||||
}
|
||||
|
||||
func SliceStringEqual(v1, v2 []string) bool {
|
||||
if len(v1) != len(v2) {
|
||||
return false
|
||||
}
|
||||
for i := range v1 {
|
||||
if v1[i] != v2[i] {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user