diff --git a/go.mod b/go.mod index 3a8cf32b..d52552cb 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( golang.org/x/time v0.7.0 google.golang.org/protobuf v1.34.2 gopkg.in/evanphx/json-patch.v4 v4.12.0 - k8s.io/api v0.0.0-20241018042523-2be23f6c5a71 + k8s.io/api v0.0.0-20241023015214-aef9cfe8158a k8s.io/apimachinery v0.0.0-20241018042225-cfee47580787 k8s.io/klog/v2 v2.130.1 k8s.io/kube-openapi v0.0.0-20240827152857-f7e401e7b4c2 diff --git a/go.sum b/go.sum index 981a29c9..e07cb9f7 100644 --- a/go.sum +++ b/go.sum @@ -155,8 +155,8 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.0.0-20241018042523-2be23f6c5a71 h1:ZVdZbGFz01Q02RULNKxVGB4n+GPVleTmpDq7ofXIJOk= -k8s.io/api v0.0.0-20241018042523-2be23f6c5a71/go.mod h1:OIAurRK8KzzpBNXtbVYeGeeoww3j5JLZFLfrV8ZAy0Y= +k8s.io/api v0.0.0-20241023015214-aef9cfe8158a h1:Kjrtr+1BcWXsTzfLhjSmy96xH6QB4ZEbjGUrbtIz2Bk= +k8s.io/api v0.0.0-20241023015214-aef9cfe8158a/go.mod h1:OIAurRK8KzzpBNXtbVYeGeeoww3j5JLZFLfrV8ZAy0Y= k8s.io/apimachinery v0.0.0-20241018042225-cfee47580787 h1:cxDsuM/daoEa1+BWlatVGAHIkKOHpZ+2BCdP25Qmw+E= k8s.io/apimachinery v0.0.0-20241018042225-cfee47580787/go.mod h1:y/FzDt/GaPgPceo5rJcCtD4qW5l8SwtbzESSMGEY6P8= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= 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)