mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fix for rename from ResourceLimit -> Resource
This commit is contained in:
@@ -335,8 +335,8 @@ func init() {
|
||||
if err := csvr.LoadAliases(); err != nil {
|
||||
log.Print("error in LoadAliases:", err)
|
||||
}
|
||||
if err := csvr.LoadResourceLimits(); err != nil {
|
||||
log.Print("error in LoadResourceLimits:", err)
|
||||
if err := csvr.LoadResources(); err != nil {
|
||||
log.Print("error in LoadResources:", err)
|
||||
|
||||
}
|
||||
if err := csvr.LoadStats(); err != nil {
|
||||
@@ -1388,7 +1388,7 @@ func TestLoadReverseAliases(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoadResource(t *testing.T) {
|
||||
func TestLoadResources(t *testing.T) {
|
||||
eResLimits := map[string]*utils.TPResource{
|
||||
"ResGroup21": &utils.TPResource{
|
||||
TPid: testTPID,
|
||||
|
||||
Reference in New Issue
Block a user