Use mc command

This commit is contained in:
Jeffrey Serio 2024-11-30 10:29:35 -06:00
parent 7e0e6088f4
commit bdfc602538

4
shell/check_repl_status Normal file → Executable file
View File

@ -2,10 +2,10 @@
set -euo pipefail 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}" gum format -t markdown "# ${selection}"
echo "" echo ""
mcli replicate status "minio/${selection}" mc replicate status "nas-local/${selection}"
exit 0 exit 0