From d5a585b5099ca07a39f90bae79bea7dd067613d7 Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Wed, 17 Apr 2024 20:06:45 +0900 Subject: [PATCH] chore: change boolean values to convert to yaml Signed-off-by: Youngjin Jo --- src/cloudforet/console_api_v2/service/agent_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cloudforet/console_api_v2/service/agent_service.py b/src/cloudforet/console_api_v2/service/agent_service.py index 1ce85c9..da16eaa 100644 --- a/src/cloudforet/console_api_v2/service/agent_service.py +++ b/src/cloudforet/console_api_v2/service/agent_service.py @@ -177,7 +177,7 @@ def _construct_yaml_format(params: dict) -> dict: } if kube_state_metrics: - default_yaml_format["kube-state-metrics"] = {"enabled": "false"} + default_yaml_format["kube-state-metrics"] = {"enabled": False} if prometheus_node_exporter: - default_yaml_format["prometheus-node-exporter"] = {"enabled": "false"} + default_yaml_format["prometheus-node-exporter"] = {"enabled": False} return default_yaml_format