From 7e0e6088f461b81512ef2d722332aad12b245083 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Fri, 29 Nov 2024 19:07:39 -0600 Subject: [PATCH] Add check_repl_status --- shell/check_repl_status | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shell/check_repl_status diff --git a/shell/check_repl_status b/shell/check_repl_status new file mode 100644 index 0000000..758ffe9 --- /dev/null +++ b/shell/check_repl_status @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -euo pipefail + +selection=$(mcli ls minio | awk '{print $5}' | gum choose --limit=1) + +gum format -t markdown "# ${selection}" +echo "" +mcli replicate status "minio/${selection}" + +exit 0