浏览代码

Fix type in error message

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Flavio Crisciani 7 年之前
父节点
当前提交
328948d35a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libnetwork/drivers/ipvlan/ipvlan_setup.go

+ 1 - 1
libnetwork/drivers/ipvlan/ipvlan_setup.go

@@ -150,7 +150,7 @@ func parseVlan(linkName string) (string, int, error) {
 	}
 	// Check if the interface exists
 	if !parentExists(parent) {
-		return "", 0, fmt.Errorf("-o parent interface does was not found on the host: %s", parent)
+		return "", 0, fmt.Errorf("-o parent interface was not found on the host: %s", parent)
 	}
 
 	return parent, vidInt, nil