From 91e8d5bfb94df30f8e4ecefba2e23d93e9b2e103 Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Fri, 24 Jun 2016 15:14:01 -0700 Subject: [PATCH] Fix sanbox typo Change "sanbox" to "sandbox". Signed-off-by: Aaron Lehmann --- libnetwork/client/types.go | 2 +- libnetwork/drivers/bridge/errors.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libnetwork/client/types.go b/libnetwork/client/types.go index 9675bd3a65..c7b2c550a5 100644 --- a/libnetwork/client/types.go +++ b/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"` diff --git a/libnetwork/drivers/bridge/errors.go b/libnetwork/drivers/bridge/errors.go index bda369608f..93960794cb 100644 --- a/libnetwork/drivers/bridge/errors.go +++ b/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