Add explanations of various claim and allocation fields

This commit is contained in:
Bryan Boreham committed 2017-02-13 17:31:02 +00:00
1 parent 293abd953e
commit 4e37f5ec42
3 files changed
+9 -8

No files matched your search

+2 -2
View File
@@ -14,9 +14,9 @@ type allocateResult struct {
type allocate struct {
resultChan chan<- allocateResult
ident string
ident string // a container ID, something like "weave:expose", or api.NoContainerID
r address.CIDR // Subnet we are trying to allocate within
isContainer bool
isContainer bool // true if ident is a container ID
hasBeenCancelled func() bool
}