Skip to content

Commit

Permalink
fix: count n.stale
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY authored Jul 28, 2023
1 parent ce0647c commit ff95231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/metainfo/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func CountValues(ctx context.Context) int {
if n := getNode(ctx); n == nil {
return 0
} else {
return len(n.transient)
return len(n.stale) + len(n.transient)
}
}

Expand Down

0 comments on commit ff95231

Please sign in to comment.