Skip to content

Commit

Permalink
Don't assert invariants when printing status
Browse files Browse the repository at this point in the history
- if it's broken you might appreciate being able to print it out
  • Loading branch information
bboreham committed Nov 24, 2015
1 parent c73409b commit 00e8fcd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ipam/ring/ring.go
Expand Up @@ -324,8 +324,6 @@ type RangeInfo struct {
}

func (r *Ring) AllRangeInfo() (result []RangeInfo) {
r.assertInvariants()

for i, entry := range r.Entries {
nextEntry := r.Entries.entry(i + 1)
ranges := []address.Range{{Start: entry.Token, End: nextEntry.Token}}
Expand Down

0 comments on commit 00e8fcd

Please sign in to comment.