From 8b37482102332f66ec30c55d0001ea7ecdd92357 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Sat, 8 Aug 2026 17:40:05 +0300 Subject: [PATCH] Fix timing of "Connecting to cluster" message Display the status message before the connection attempt starts to provide immediate feedback, rather than showing it only after the connection is established. Closes #36 --- hydrate/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydrate/__main__.py b/hydrate/__main__.py index bb04e88..be24fc4 100644 --- a/hydrate/__main__.py +++ b/hydrate/__main__.py @@ -20,7 +20,7 @@ def main(args): verbose_print = print if args.verbose else lambda *a, **k: None verbose_print("Printing verbosely...") - print("Connecting to cluster...") + print("Connecting to cluster...", flush=True) my_cluster = Cluster(args.kubeconfig) my_cluster.connect_to_cluster() print("Connected!")