fix get all eaction plans keys

This commit is contained in:
Radu Ioan Fericean
2016-08-16 19:30:29 +03:00
parent 58ad3a0cec
commit 1e053d2c8f
5 changed files with 6 additions and 5 deletions

View File

@@ -1002,7 +1002,7 @@ func (ms *MapStorage) GetAllActionPlans() (ats map[string]*ActionPlan, err error
if err != nil {
return nil, err
}
ats[key] = ap
ats[key[len(utils.ACTION_PLAN_PREFIX):]] = ap
}
return