mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2025-01-18 15:53:45 +01:00
Add check_repl_status
This commit is contained in:
parent
c01e424c4c
commit
7e0e6088f4
11
shell/check_repl_status
Normal file
11
shell/check_repl_status
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user