mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add integration test getting the Full Account,Resource,StatMetrics and Libphonenumber
This commit is contained in:
committed by
Dan Christian Bogos
parent
83a0a6ef1b
commit
c4b228b041
@@ -169,8 +169,7 @@ func (dDP *libphonenumberDP) FieldAsInterface(fldPath []string) (val interface{}
|
||||
val = dDP.cache
|
||||
return
|
||||
}
|
||||
val, err = dDP.cache.FieldAsInterface(fldPath)
|
||||
if err == utils.ErrNotFound { // in case not found in cache try to populate it
|
||||
if val, err = dDP.cache.FieldAsInterface(fldPath); err == utils.ErrNotFound { // in case not found in cache try to populate it
|
||||
return dDP.fieldAsInterface(fldPath)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user