From 29f23df5ad2abb63d417399dde6ffcaa76a2b512 Mon Sep 17 00:00:00 2001 From: porosnicuadrian Date: Mon, 12 Apr 2021 15:50:51 +0300 Subject: [PATCH] Changed prefix for Accounts --- engine/z_onstor_it_test.go | 2 +- utils/consts.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/z_onstor_it_test.go b/engine/z_onstor_it_test.go index f26c4d232..e41622a90 100644 --- a/engine/z_onstor_it_test.go +++ b/engine/z_onstor_it_test.go @@ -1460,7 +1460,7 @@ func testOnStorITAccount(t *testing.T) { } //craft akeysFromPrefix - expectedKey := []string{"anp_cgrates.org:RP1"} + expectedKey := []string{"acn_cgrates.org:RP1"} if rcv, err := onStor.DataDB().GetKeysForPrefix(utils.AccountPrefix); err != nil { t.Error(err) } else if !reflect.DeepEqual(expectedKey, rcv) { diff --git a/utils/consts.go b/utils/consts.go index e9cf08747..134449d21 100755 --- a/utils/consts.go +++ b/utils/consts.go @@ -356,7 +356,7 @@ const ( DispatcherProfilePrefix = "dpp_" RateProfilePrefix = "rtp_" ActionProfilePrefix = "acp_" - AccountPrefix = "anp_" + AccountPrefix = "acn_" DispatcherHostPrefix = "dph_" ThresholdProfilePrefix = "thp_" StatQueuePrefix = "stq_"