Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Show which range is being allocated in weave report
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Nov 26, 2015
1 parent 2fbbb80 commit 8bbf823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipam/status.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ipam

import (
"fmt"
"github.com/weaveworks/weave/ipam/paxos"
"github.com/weaveworks/weave/net/address"
)
Expand Down Expand Up @@ -88,7 +89,7 @@ func newAllocateIdentSlice(allocator *Allocator) []string {
var slice []string
for _, op := range allocator.pendingAllocates {
allocate := op.(*allocate)
slice = append(slice, allocate.ident)
slice = append(slice, fmt.Sprintf("%s %s", allocate.ident, allocate.r.String()))
}
return slice
}

0 comments on commit 8bbf823

Please sign in to comment.