diff --git a/engine/storage_mongo.go b/engine/storage_mongo.go index e2b6d2a80..3d71fa4ec 100644 --- a/engine/storage_mongo.go +++ b/engine/storage_mongo.go @@ -1158,7 +1158,6 @@ func (ms *MongoStorage) GetAllActionPlans() (ats map[string]*ActionPlan, err err ats = make(map[string]*ActionPlan, len(apls)) for key, value := range apls { apl := value.(*ActionPlan) - apl.AccountIDs = utils.YesDots(apl.AccountIDs) ats[key] = apl } diff --git a/utils/map.go b/utils/map.go index 90bce4cd4..6fa89fe0f 100644 --- a/utils/map.go +++ b/utils/map.go @@ -144,6 +144,7 @@ func (sm StringMap) GetOne() string { return "" } +/* func NoDots(m map[string]struct{}) map[string]struct{} { return MapKeysReplace(m, ".", ".") } @@ -160,3 +161,4 @@ func MapKeysReplace(m map[string]struct{}, old, new string) map[string]struct{} } return m } +*/