diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-07-06 14:39:42 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:55 +0100 |
commit | ad4d3750daa2ec3734ad79a87829a2c529a021a7 (patch) | |
tree | 9207db4db6aa22581fdc433a65fd2b27d738473e /ctl-lib/ctl-control.c | |
parent | d0035a84e055fe2224fd1333f814873578e3dde6 (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-control.c')
0 files changed, 0 insertions, 0 deletions