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