Updated preload cfg and code

This commit is contained in:
porosnicuadrian
2022-01-13 09:35:07 +02:00
committed by Dan Christian Bogos
parent e65cc92703
commit d91bda79d6
2 changed files with 9 additions and 9 deletions

View File

@@ -149,7 +149,7 @@ func (aP *ActionProfile) Set(path []string, val interface{}, newBranch bool, _ s
aP.Actions = append(aP.Actions, ac)
}
return ac.Set(path, val, newBranch)
return ac.Set(path[1:], val, newBranch)
}
func (aP *APAction) Set(path []string, val interface{}, newBranch bool) (err error) {