From f8560c9eaa85ded67d8d47436893134917cd4530 Mon Sep 17 00:00:00 2001 From: Caleb Tennis Date: Sun, 9 Aug 2015 15:20:06 -0400 Subject: [PATCH] Fix a couple of typos --- logical/request.go | 2 +- logical/response.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"