cosmetic: some error logging message tweaks

This commit is contained in:
Matthias Radestock committed 2016-03-24 18:16:57 +00:00
1 parent c146ee142d
commit ea11c5eedc
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -113,7 +113,7 @@ func (driver *driver) JoinEndpoint(j *api.JoinRequest) (*api.JoinResponse, error
}
if err := netlink.LinkSetUp(local); err != nil {
return nil, errorf(`unable to bring veth up: %s`, err)
return nil, errorf(`unable to bring up veth: %s`, err)
}
ifname := &api.InterfaceName{
@@ -171,7 +171,7 @@ func createAndAttach(id, bridgeName string, mtu int) (*netlink.Veth, error) {
return nil, errorf(`failed to attach "%s" to device "%s": %s`, local.Name, bridgeName, err)
}
default:
return nil, errorf(`device "%s" not a bridge`, bridgeName)
return nil, errorf(`device "%s" is not a bridge`, bridgeName)
}
return local, nil
}