diff --git a/rest/request.go b/rest/request.go index 775f3c1a..d30c3898 100644 --- a/rest/request.go +++ b/rest/request.go @@ -124,7 +124,7 @@ type Request struct { // output err error - // only one of body / bodyBytes may be set. requests using body are not retriable. + // only one of body / bodyBytes may be set. requests using body are not retryable. body io.Reader bodyBytes []byte diff --git a/rest/url_utils.go b/rest/url_utils.go index c4ce6e3b..0a0ab791 100644 --- a/rest/url_utils.go +++ b/rest/url_utils.go @@ -61,7 +61,7 @@ func DefaultServerURL(host, apiPath string, groupVersion schema.GroupVersion, de return hostURL, versionedAPIPath, nil } -// DefaultVersionedAPIPathFor constructs the default path for the given group version, assuming the given +// DefaultVersionedAPIPath constructs the default path for the given group version, assuming the given // API path, following the standard conventions of the Kubernetes API. func DefaultVersionedAPIPath(apiPath string, groupVersion schema.GroupVersion) string { versionedAPIPath := path.Join("/", apiPath)