From b70147ae683296b62034e531340148a63cec0d3a Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Thu, 20 Sep 2018 15:18:10 +0200 Subject: 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 --- ctl-lib/ctl-onload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctl-lib') 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; } -- cgit 1.2.3-korg