diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-07-06 14:39:42 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-07-20 12:33:30 +0200 |
commit | e32d98c5d6ec6106b97062a0c57131d4278478ca (patch) | |
tree | 9207db4db6aa22581fdc433a65fd2b27d738473e /ctl-lib/ctl-lua-utils.c | |
parent | 88892db78f2f5b047923af5b36169052c96bc3c0 (diff) |
Keep json unmodified during action execution
Keep passed json object unmodified during action execution.
Before, the action arguments were added in the json passed
(so, the json was modified, even for its provider).
Now, if action arguments need to be added to the json to execute an
action, 'ActionExecOne' function clone the passed json object,
add action arguments into it, and use it to call the action.
Change-Id: If102cc943326c17aad52cfde735362a72ad35a9a
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-lua-utils.c')
0 files changed, 0 insertions, 0 deletions