Update setup_minio.sh

This commit is contained in:
Kruglov Pavel 2024-07-10 13:15:44 +02:00 committed by GitHub
parent d7f08ffdb7
commit 7b58722c07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,9 @@ upload_data() {
# iterating over globs will cause redundant file variable to be
# a path to a file, not a filename
# shellcheck disable=SC2045
./mc cp --recursive "${data_path}"/ clickminio/test/
if [ -d "${data_path}" ]; then
./mc cp --recursive "${data_path}"/ clickminio/test/
fi
}
setup_aws_credentials() {