From 32a819bb1dd6063205a7960fee33b9b701412634 Mon Sep 17 00:00:00 2001 From: El De-dog-lo <3859395+fubuloubu@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:11:58 -0400 Subject: [PATCH] fix(cli): bad display for `cluster info` (#163) --- silverback/_cli.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/silverback/_cli.py b/silverback/_cli.py index 28dbd0cc..2d476f87 100644 --- a/silverback/_cli.py +++ b/silverback/_cli.py @@ -727,12 +727,11 @@ def cluster_info(cluster: ClusterClient): # NOTE: This actually doesn't query the cluster's routes, which are protected click.echo(f"Cluster Version: v{cluster.version}") - - if config := cluster.state.configuration: - click.echo(yaml.safe_dump(config.settings_display_dict())) - - else: - click.secho("No Cluster Configuration detected", fg="yellow", bold=True) + # TODO: Add way to fetch config and display it (this doesn't work) + # if config := cluster.state.configuration: + # click.echo(yaml.safe_dump(config.settings_display_dict())) + # else: + # click.secho("No Cluster Configuration detected", fg="yellow", bold=True) @cluster.command(name="health")