From 973b4014c7d610b4db7faa8921a1259527fd7e34 Mon Sep 17 00:00:00 2001 From: Gaurav Shah Date: Tue, 28 Nov 2023 00:02:48 +0530 Subject: [PATCH] syntax correction --- buildpack/telemetry/metrics.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildpack/telemetry/metrics.py b/buildpack/telemetry/metrics.py index 5520a596..57db3a3f 100644 --- a/buildpack/telemetry/metrics.py +++ b/buildpack/telemetry/metrics.py @@ -110,12 +110,12 @@ def micrometer_metrics_enabled(runtime_version): """Check for metrics from micrometer.""" logging.info("checking is micrometer metrics enabled") micrometer_enabled=False - if(_micrometer_runtime_requirement(runtime_version)) + if(_micrometer_runtime_requirement(runtime_version)): logging.info("satisfies micrometer runtime requirement") - if(bool(get_micrometer_metrics_url())) + if(bool(get_micrometer_metrics_url())): logging.info("Found micrometer metrics url configured") micrometer_enabled = True - elif(strtobool(os.getenv("NON_MENDIX_PUBLIC_CLOUD","false"))) + elif(strtobool(os.getenv("NON_MENDIX_PUBLIC_CLOUD","false"))): logging.info("micrometer for non mendix public cloud") micrometer_enabled = True return micrometer_enabled