From 96ee1e30743b88780cc9dc975745d8dc03de25ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 15 Feb 2018 16:41:54 +0100 Subject: [PATCH] afb-config: Fully exclude config monitoring MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I93b3d49f46d4dec607b08cc439b6cb06cf68ec32 Signed-off-by: José Bollo --- src/afb-config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/afb-config.c b/src/afb-config.c index f7e50008..fc3f5d70 100644 --- a/src/afb-config.c +++ b/src/afb-config.c @@ -738,7 +738,9 @@ void afb_config_dump(struct afb_config *config) B(no_ldpaths) B(noHttpd) B(background) +#if defined(WITH_MONITORING_OPTION) B(monitoring) +#endif B(random_token) P("---END-OF-CONFIG---\n"); @@ -866,7 +868,9 @@ struct json_object *afb_config_json(struct afb_config *config) B(no_ldpaths) B(noHttpd) B(background) +#if defined(WITH_MONITORING_OPTION) B(monitoring) +#endif B(random_token) #undef E -- 2.16.6