summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-onload.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-20 15:18:10 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-12 17:44:41 +0100
commit73eec54d63281626545d9290dc818f530f81f9f3 (patch)
tree182d18b75133cf8240b6c044095377bc60cdb369 /ctl-lib/ctl-onload.c
parentff20c394e456075d5936440b35be2f6a137dab82 (diff)
Decrease print level when no onload action
Decrease print level when 'OnloadConfig' function is called while no onload action are defined in passed json. Change-Id: I173cb9b6824f7f32cf33a6755ed52f9dcf093ee6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-onload.c')
-rw-r--r--ctl-lib/ctl-onload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-onload.c b/ctl-lib/ctl-onload.c
index b537590..6100f2a 100644
--- a/ctl-lib/ctl-onload.c
+++ b/ctl-lib/ctl-onload.c
@@ -35,7 +35,7 @@ int OnloadConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ
} else {
// Exec time process onload action now
if (!section->actions) {
- AFB_ApiError (apiHandle, "OnloadConfig Cannot Exec Non Existing Onload Action");
+ AFB_ApiWarning (apiHandle, "OnloadConfig Cannot Exec Non Existing Onload Action");
return 1;
}