Browse Source

fixed some typos

Signed-off-by: Mingzhen Feng <fmzhen@zju.edu.cn>
Mingzhen Feng 10 years ago
parent
commit
9c9c79f1b0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libnetwork/endpoint.go
  2. 1 1
      libnetwork/sandbox/sandbox.go

+ 1 - 1
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.

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