瀏覽代碼

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

Fix example package error
Madhu Venugopal 10 年之前
父節點
當前提交
82043dc94a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()
 		mapData, ok := epInfo[netlabel.PortMap]
 		if ok {
-			portMapping, ok := mapData.([]netutils.PortBinding)
+			portMapping, ok := mapData.([]types.PortBinding)
 			if ok {
 				fmt.Printf("Current port mapping for endpoint %s: %v", ep.Name(), portMapping)
 			}