Skip to content

Commit dc06b69

Browse files
committed
fix minio setup
1 parent 4582126 commit dc06b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/test/stress/setup_minio.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ setup_minio() {
8282
local test_type=$1
8383
./mc alias set clickminio http://localhost:11111 clickhouse clickhouse
8484
./mc admin user add clickminio test testtest
85-
./mc admin policy set clickminio readwrite user=test
85+
./mc admin policy attach clickminio readwrite user=test
8686
./mc mb clickminio/test
8787
if [ "$test_type" = "stateless" ]; then
88-
./mc policy set public clickminio/test
88+
./mc policy attach public clickminio/test
8989
fi
9090
}
9191

0 commit comments

Comments
 (0)