Skip to content

Commit

Permalink
fix the min value comparison (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 authored Jul 11, 2024
1 parent 4b998e1 commit 8f32d40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/virtualgroup/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ func (k Keeper) QuerySpOptimalGlobalVirtualGroupFamily(goCtx context.Context, re
}
}
case types.Strategy_Minimal_Free_Store_Size:
freeStoreSize = math.MaxFloat64
for _, gvgfID := range stats.GlobalVirtualGroupFamilyIds {
gvgFamily, found := k.GetGVGFamily(ctx, gvgfID)
if !found {
Expand Down

0 comments on commit 8f32d40

Please sign in to comment.