Browse Source

Merge pull request #2269 from mirake/fix-typo

Fix typo: assigment -> assignment
Christopher Adam Telfer 6 years ago
parent
commit
460ff4e822
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libnetwork/drivers/ipvlan/ipvlan_endpoint.go

+ 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,