From 809495144f97fbc9e6dc98fdf71af6a413577982 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 30 Oct 2018 17:09:23 +0100 Subject: Retrieve plugin list from api rather than a global Change-Id: Iba7c564eea48495c76de8ca919725a2e4b332fd6 Signed-off-by: Romain Forlot --- ctl-lib/ctl-config.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ctl-lib/ctl-config.c') diff --git a/ctl-lib/ctl-config.c b/ctl-lib/ctl-config.c index accc608..532a2e8 100644 --- a/ctl-lib/ctl-config.c +++ b/ctl-lib/ctl-config.c @@ -187,11 +187,10 @@ CtlConfigT *CtlLoadMetaDataJson(AFB_ApiT apiHandle, json_object *ctlConfigJ, con free(ctlHandle); return NULL; } - } - ctlHandle->configJ = ctlConfigJ; - ctlHandle->prefix = prefix; - ctlHandle->ctlPlugins = &ctlPlugins; + ctlHandle->configJ = ctlConfigJ; + ctlHandle->prefix = prefix; + } return ctlHandle; } -- cgit 1.2.3-korg