diff --git a/libnetwork/endpoint.go b/libnetwork/endpoint.go index 9b832358e8..2935bca31c 100644 --- a/libnetwork/endpoint.go +++ b/libnetwork/endpoint.go @@ -40,7 +40,7 @@ type Endpoint interface { // Return certain operational data belonging to this endpoint Info() EndpointInfo - // Info returns a collection of driver operational data related to this endpoint retrieved from the driver + // DriverInfo returns a collection of driver operational data related to this endpoint retrieved from the driver DriverInfo() (map[string]interface{}, error) // Delete and detaches this endpoint from the network. diff --git a/libnetwork/sandbox/sandbox.go b/libnetwork/sandbox/sandbox.go index 9e104cabdc..d43a94d3ce 100644 --- a/libnetwork/sandbox/sandbox.go +++ b/libnetwork/sandbox/sandbox.go @@ -25,7 +25,7 @@ type Sandbox interface { // an appropriate suffix for the DstName to disambiguate. AddInterface(*Interface) error - // Remove an interface from the sandbox by renamin to original name + // Remove an interface from the sandbox by renaming to original name // and moving it out of the sandbox. RemoveInterface(*Interface) error