Selaa lähdekoodia

Merge pull request #1291 from aaronlehmann/sanbox

Fix sanbox typo
Madhu Venugopal 9 vuotta sitten
vanhempi
commit
a4f03577b5
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      libnetwork/client/types.go
  2. 1 1
      libnetwork/drivers/bridge/errors.go

+ 1 - 1
libnetwork/client/types.go

@@ -88,7 +88,7 @@ type extraHost struct {
 }
 
 // sandboxParentUpdate is the object carrying the information about the
-// sanbox parent that needs to be updated
+// sandbox parent that needs to be updated.
 type sandboxParentUpdate struct {
 	ContainerID string `json:"container_id"`
 	Name        string `json:"name"`

+ 1 - 1
libnetwork/drivers/bridge/errors.go

@@ -183,7 +183,7 @@ func (ieie InvalidEndpointIDError) BadRequest() {}
 type InvalidSandboxIDError string
 
 func (isie InvalidSandboxIDError) Error() string {
-	return fmt.Sprintf("invalid sanbox id: %s", string(isie))
+	return fmt.Sprintf("invalid sandbox id: %s", string(isie))
 }
 
 // BadRequest denotes the type of this error