Browse Source

Merge pull request #436 from wulonghui/wulonghui-patch-4

Fix example package error
Madhu Venugopal 10 years ago
parent
commit
82043dc94a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libnetwork/README.md

+ 1 - 1
libnetwork/README.md

@@ -64,7 +64,7 @@ There are many networking solutions available to suit a broad range of use-cases
 		epInfo, err := ep.DriverInfo()
 		epInfo, err := ep.DriverInfo()
 		mapData, ok := epInfo[netlabel.PortMap]
 		mapData, ok := epInfo[netlabel.PortMap]
 		if ok {
 		if ok {
-			portMapping, ok := mapData.([]netutils.PortBinding)
+			portMapping, ok := mapData.([]types.PortBinding)
 			if ok {
 			if ok {
 				fmt.Printf("Current port mapping for endpoint %s: %v", ep.Name(), portMapping)
 				fmt.Printf("Current port mapping for endpoint %s: %v", ep.Name(), portMapping)
 			}
 			}