ソースを参照

Fix sanbox typo

Change "sanbox" to "sandbox".

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Aaron Lehmann 9 年 前
コミット
91e8d5bfb9
2 ファイル変更2 行追加2 行削除
  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