fix out of range for slice (#931)

This commit is contained in:
唐小鸭
2025-11-27 15:57:38 +08:00
committed by GitHub
parent ee04cc77a0
commit 701960dd81
2 changed files with 12 additions and 5 deletions

9
.vscode/launch.json vendored
View File

@@ -85,6 +85,15 @@
"cwd": "${workspaceFolder}",
//"stopAtEntry": false,
//"preLaunchTask": "cargo build",
"env": {
"RUSTFS_ACCESS_KEY": "rustfsadmin",
"RUSTFS_SECRET_KEY": "rustfsadmin",
"RUSTFS_VOLUMES": "./target/volume/test{1...4}",
"RUSTFS_ADDRESS": ":9000",
"RUSTFS_CONSOLE_ENABLE": "true",
"RUSTFS_CONSOLE_ADDRESS": "127.0.0.1:9001",
"RUSTFS_OBS_LOG_DIRECTORY": "./target/logs",
},
"sourceLanguages": [
"rust"
],