diff --git a/logical/request.go b/logical/request.go index 92a69903bf..0b123c8119 100644 --- a/logical/request.go +++ b/logical/request.go @@ -145,6 +145,6 @@ var ( // ErrInvalidRequest is returned if the request is invalid ErrInvalidRequest = errors.New("invalid request") - // ErrPermissionDeneid is returned if the client is not authorized + // ErrPermissionDenied is returned if the client is not authorized ErrPermissionDenied = errors.New("permission denied") ) diff --git a/logical/response.go b/logical/response.go index d87a8f7c96..8af0b3de51 100644 --- a/logical/response.go +++ b/logical/response.go @@ -13,7 +13,7 @@ const ( // avoided like the HTTPContentType. The value must be a byte slice. HTTPRawBody = "http_raw_body" - // HTTPStatusCode is the response code the HTTP body that goes with the HTTPContentType. + // HTTPStatusCode is the response code of the HTTP body that goes with the HTTPContentType. // This can only be specified for non-secrets, and should should be similarly // avoided like the HTTPContentType. The value must be an integer. HTTPStatusCode = "http_status_code"