Browse Source

Fix typo: assigment -> assignment

Signed-off-by: Rui Cao <ruicao@alauda.io>
Rui Cao 7 năm trước cách đây
mục cha
commit
65860893bf

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

@@ -24,7 +24,7 @@ func (d *driver) CreateEndpoint(nid, eid string, ifInfo driverapi.InterfaceInfo,
 		return fmt.Errorf("network id %q not found", nid)
 		return fmt.Errorf("network id %q not found", nid)
 	}
 	}
 	if ifInfo.MacAddress() != nil {
 	if ifInfo.MacAddress() != nil {
-		return fmt.Errorf("%s interfaces do not support custom mac address assigment", ipvlanType)
+		return fmt.Errorf("%s interfaces do not support custom mac address assignment", ipvlanType)
 	}
 	}
 	ep := &endpoint{
 	ep := &endpoint{
 		id:     eid,
 		id:     eid,