aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-12-06 10:32:00 +0100
committerFrederic Marec <frederic.marec@iot.bzh>2019-12-06 10:37:22 +0100
commit910326fc77d64e10b3d89e33e09d37315fc492c5 (patch)
tree7b6594b7fde101fd198e1db4ec84c4ff71522ff1 /src
parent5c3503e35c1b883e97ed6874f7683d0a7b5938b7 (diff)
Change functions following controller modificationicefish_8.99.4icefish/8.99.48.99.4
CONTROL_PREFIX variable was remove in CtlLoadMetaDataJson and CtlLoadMetaDataUsingPrefix from libappcontroller Bug-AGL: SPEC-3011 Change-Id: If3dbb5af6a64629257ff1aad2c812e60b44318f2 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/aft.c4
1 files 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) {