Ver Fonte

libnet: document what Network.networkType represents

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
Albin Kerouanton há 1 ano atrás
pai
commit
13915f6521
1 ficheiros alterados com 1 adições e 1 exclusões
  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