summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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) {