1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #2167 from fcrisciani/fix-typo

Fix type in error message
This commit is contained in:
Flavio Crisciani 2018-05-29 09:43:54 -07:00 committed by GitHub
commit 185a889a82

View file

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