From bdfc602538678d61abd763b32b3c8c25f81e3bbb Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Sat, 30 Nov 2024 10:29:35 -0600 Subject: [PATCH] Use mc command --- shell/check_repl_status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 shell/check_repl_status diff --git a/shell/check_repl_status b/shell/check_repl_status old mode 100644 new mode 100755 index 758ffe9..d5179e1 --- a/shell/check_repl_status +++ b/shell/check_repl_status @@ -2,10 +2,10 @@ set -euo pipefail -selection=$(mcli ls minio | awk '{print $5}' | gum choose --limit=1) +selection=$(mc ls nas-local | awk '{print $5}' | gum choose --limit=1) gum format -t markdown "# ${selection}" echo "" -mcli replicate status "minio/${selection}" +mc replicate status "nas-local/${selection}" exit 0