This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a commit to branch chore/ci-minio-healthcheck
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/chore/ci-minio-healthcheck by
this push:
new 2fae4470e chore(ci): fix code
2fae4470e is described below
commit 2fae4470ec352b730e79fc3df7bb23193c9e456a
Author: owl <[email protected]>
AuthorDate: Tue Aug 22 02:40:21 2023 +0800
chore(ci): fix code
---
.github/workflows/service_test_s3.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/service_test_s3.yml
b/.github/workflows/service_test_s3.yml
index c4454720c..196733d9a 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -149,7 +149,7 @@ jobs:
which curl
while :; do
echo "waiting minio docker to be ready"
- res=$(curl -I http://127.0.0.1:9000/minio/health/live 2>/dev/null
| head -n 1 | cut -d$' ' -f2)
+ res="$(curl -I http://127.0.0.1:9000/minio/health/live 2>/dev/null
| head -n 1 | cut -d$' ' -f2)"
if [ "$res" == "200" ]; then
break
fi