Explorar o código

libnet: document what Network.networkType represents

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
Albin Kerouanton hai 1 ano
pai
achega
13915f6521
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libnetwork/network.go

+ 1 - 1
libnetwork/network.go

@@ -175,7 +175,7 @@ func (i *IpamInfo) UnmarshalJSON(data []byte) error {
 type Network struct {
 	ctrlr            *Controller
 	name             string
-	networkType      string
+	networkType      string // networkType is the name of the netdriver used by this network
 	id               string
 	created          time.Time
 	scope            string // network data scope