Browse Source

libnet: document what Network.networkType represents

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
Albin Kerouanton 1 year ago
parent
commit
13915f6521
1 changed files with 1 additions and 1 deletions
  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