mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
fix(tier): narrow mutation proof targets (#5098)
Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
@@ -506,7 +506,7 @@ fn tier_mutation_proof_targets(
|
||||
current: &TierConfigMgr,
|
||||
candidate: &TierConfigMgr,
|
||||
) -> HashSet<String> {
|
||||
let mut targets = changed_tier_names(current, candidate);
|
||||
let mut targets = HashSet::new();
|
||||
match kind {
|
||||
TierMutationIntentKind::Add | TierMutationIntentKind::Edit | TierMutationIntentKind::Remove => {
|
||||
if let Some(tier_name) = explicit_tier_name
|
||||
|
||||
Reference in New Issue
Block a user