Skip to content

Commit

Permalink
Fix a typo in daemon/networkdriver/ipallocator/allocator.go
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Sun <[email protected]>
  • Loading branch information
sunyuan3 committed Mar 30, 2015
1 parent 41e47bb commit 0833129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/networkdriver/ipallocator/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (allocated *allocatedMap) checkIP(ip net.IP) (net.IP, error) {
}

// return an available ip if one is currently available. If not,
// return the next available ip for the nextwork
// return the next available ip for the network
func (allocated *allocatedMap) getNextIP() (net.IP, error) {
pos := big.NewInt(0).Set(allocated.last)
allRange := big.NewInt(0).Sub(allocated.end, allocated.begin)
Expand Down

0 comments on commit 0833129

Please sign in to comment.