mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
refactor: unify credential env constants and deploy env usage (#2821)
Co-authored-by: Henry Guo <marshawcoco@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: loverustfs <hello@rustfs.com> Co-authored-by: 安正超 <anzhengchao@gmail.com>
This commit is contained in:
@@ -885,8 +885,8 @@ mod tests {
|
||||
network.insert("ip".to_string(), "192.168.1.100".to_string());
|
||||
|
||||
let mut env_vars = HashMap::new();
|
||||
env_vars.insert("RUSTFS_ROOT_USER".to_string(), "admin".to_string());
|
||||
env_vars.insert("RUSTFS_ROOT_PASSWORD".to_string(), "password".to_string());
|
||||
env_vars.insert("RUSTFS_ACCESS_KEY".to_string(), "admin".to_string());
|
||||
env_vars.insert("RUSTFS_SECRET_KEY".to_string(), "password".to_string());
|
||||
|
||||
let server_props = ServerProperties {
|
||||
state: "online".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user