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

Merge pull request #42541 from yalpul/patch-1

Fix typo in macvlan_setup.go
This commit is contained in:
Lei Jitang 2021-06-21 13:39:01 +02:00 committed by GitHub
commit cda846e9a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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