fix admin api bugs

This commit is contained in:
weisd
2025-02-23 18:28:34 +08:00
parent 19d897a40b
commit c07d165ceb
15 changed files with 287 additions and 161 deletions
+7 -6
View File
@@ -7,13 +7,13 @@ fi
current_dir=$(pwd)
mkdir -p ./target/volume/test
mkdir -p ./target/volume/test{0..4}
# mkdir -p ./target/volume/test{0..4}
if [ -z "$RUST_LOG" ]; then
export RUST_BACKTRACE=1
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
fi
# if [ -z "$RUST_LOG" ]; then
# export RUST_BACKTRACE=1
# export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
# fi
# export RUSTFS_ERASURE_SET_DRIVE_COUNT=5
@@ -24,10 +24,11 @@ export RUSTFS_VOLUMES="./target/volume/test"
export RUSTFS_ADDRESS="0.0.0.0:9000"
export RUSTFS_CONSOLE_ENABLE=true
export RUSTFS_CONSOLE_ADDRESS="0.0.0.0:9002"
export RUSTFS_SERVER_ENDPOINT="http://localhost:9000"
if [ -n "$1" ]; then
export RUSTFS_VOLUMES="$1"
fi
./target/debug/rustfs
cargo run --bin rustfs