Ver código fonte

Merge pull request #11912 from sunyuan3/typo

Fix a typo in daemon/networkdriver/ipallocator/allocator.go
Doug Davis 10 anos atrás
pai
commit
d95fae062b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      daemon/networkdriver/ipallocator/allocator.go

+ 1 - 1
daemon/networkdriver/ipallocator/allocator.go

@@ -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)