From 910326fc77d64e10b3d89e33e09d37315fc492c5 Mon Sep 17 00:00:00 2001 From: Frederic Marec Date: Fri, 6 Dec 2019 10:32:00 +0100 Subject: Change functions following controller modification CONTROL_PREFIX variable was remove in CtlLoadMetaDataJson and CtlLoadMetaDataUsingPrefix from libappcontroller Bug-AGL: SPEC-3011 Change-Id: If3dbb5af6a64629257ff1aad2c812e60b44318f2 Signed-off-by: Frederic Marec --- src/aft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aft.c b/src/aft.c index 14fb003..9221d1b 100644 --- a/src/aft.c +++ b/src/aft.c @@ -222,11 +222,11 @@ static int CtrlLoadOneApi(void *cbdata, afb_api_t apiHandle) { } static CtlConfigT *CtrlLoadConfigJson(afb_api_t apiHandle, json_object *configJ) { - return CtlLoadMetaDataJson(apiHandle, configJ, CONTROL_PREFIX); + return CtlLoadMetaDataJson(apiHandle, configJ); } static CtlConfigT *CtrlLoadConfigFile(afb_api_t apiHandle, const char *configPath) { - return CtlLoadMetaDataUsingPrefix(apiHandle, configPath, CONTROL_PREFIX); + return CtlLoadMetaData(apiHandle, configPath); } static int CtrlCreateApi(afb_api_t apiHandle, CtlConfigT *ctrlConfig) { -- cgit 1.2.3-korg