From 88580c6e85add4fab1d8b7b02fd324924ab5d0e3 Mon Sep 17 00:00:00 2001 From: Erhan Cagirici Date: Tue, 17 Sep 2024 15:13:16 +0300 Subject: [PATCH] add comment for forking reason to openapi_groupversion.go Signed-off-by: Erhan Cagirici --- pkg/kube/client/ssa/cache/extractor/openapi_groupversion.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/kube/client/ssa/cache/extractor/openapi_groupversion.go b/pkg/kube/client/ssa/cache/extractor/openapi_groupversion.go index 89a0b8d3..21c7b888 100644 --- a/pkg/kube/client/ssa/cache/extractor/openapi_groupversion.go +++ b/pkg/kube/client/ssa/cache/extractor/openapi_groupversion.go @@ -17,6 +17,11 @@ limitations under the License. /* This file is forked from upstream kubernetes/client-go https://github.com/kubernetes/client-go/blob/0b9a7d2f21befcfd98bf2e62ae68ea49d682500d/openapi/groupversion.go + +The OpenAPI schema retrieval function Schema() at the upstream interface +openapi.GroupVersion does not accept any context, yet the +implementors do HTTP calls, without propagating the context. +This fork includes a context-accepting variant of the interface */ package extractor