File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,6 @@ set_mc_alias() {
121
121
debug_print " Set alias with: mc alias set $MINIO_ALIAS $MINIO_HOST $MINIO_ADMIN_USER **********"
122
122
}
123
123
124
- validate_minio_connection () {
125
- debug_print " Validating MinIO connection..."
126
- if ! mc admin info " $MINIO_ALIAS " & > /dev/null; then
127
- echo " Error: Unable to connect to MinIO instance at $MINIO_HOST "
128
- echo " Please check the hostname and admin credentials"
129
- exit 1
130
- fi
131
- debug_print " Successfully connected to MinIO instance"
132
- }
133
-
134
124
# ###############################################################################
135
125
# Main
136
126
# ###############################################################################
@@ -155,7 +145,6 @@ mc --version
155
145
echo " -----------------------------------------------------------"
156
146
157
147
set_mc_alias
158
- validate_minio_connection
159
148
160
149
# Check to see if user exists
161
150
if mc admin user ls " $MINIO_ALIAS " | grep -q " $MINIO_USER_ACCESS_KEY " ; then
You can’t perform that action at this time.
0 commit comments