mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Switch from redis keys to scan for GetKeys driver + tests and fixes
This commit is contained in:
committed by
Dan Christian Bogos
parent
d847ec5d98
commit
6bcb9b0008
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
package utils
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/cmplx"
|
||||
"reflect"
|
||||
"testing"
|
||||
@@ -236,6 +235,6 @@ func TestContentStructFieldByIndexIsEmpty(t *testing.T) {
|
||||
},
|
||||
}
|
||||
if fieldByIndexIsEmpty(reflect.ValueOf(myStruct), []int{1, 0}) {
|
||||
fmt.Printf("%v", myStruct)
|
||||
t.Errorf("%v", myStruct)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user