Fix example package error

This commit is contained in:
wulonghui 2015-08-04 11:14:01 +08:00
parent fd8067f513
commit 7a5224afe4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}