Skip to content

Commit

Permalink
fix(lint): range-val-address
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Sep 3, 2024
1 parent 2162374 commit b7d2d77
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ func UpdateOBTenantResource(m *ObTenantOperationManager) tasktypes.TaskError {
}
case constants.TenantOpModifyResourcePools:
modifiedPools := make(map[string]*v1alpha1.ResourcePoolSpec)
for _, pool := range m.Resource.Spec.ModifyResourcePools {
for i := range m.Resource.Spec.ModifyResourcePools {
pool := m.Resource.Spec.ModifyResourcePools[i]
modifiedPools[pool.Zone] = &pool
}
for i := range obtenant.Spec.Pools {
Expand Down

0 comments on commit b7d2d77

Please sign in to comment.