Skip to content

Commit

Permalink
chore: change boolean values to convert to yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Youngjin Jo <youngjinjo@megazone.com>
  • Loading branch information
yjinjo committed Apr 17, 2024
1 parent 3e7ff52 commit d5a585b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloudforet/console_api_v2/service/agent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d5a585b

Please sign in to comment.