From 641a07c997713a2cfd7b0a743263d20d756008b5 Mon Sep 17 00:00:00 2001 From: Jian Zeng Date: Fri, 13 Sep 2024 22:22:59 +0800 Subject: [PATCH] feat(apiserver): set stream param in LogLocation Signed-off-by: Jian Zeng Kubernetes-commit: d9687a8c3adaf48d398237328a8db510f3b9399d --- pkg/endpoints/installer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/endpoints/installer.go b/pkg/endpoints/installer.go index 78e67109f..f9dec9031 100644 --- a/pkg/endpoints/installer.go +++ b/pkg/endpoints/installer.go @@ -1216,6 +1216,8 @@ func typeToJSON(typeName string) string { return "string" case "v1.IncludeObjectPolicy", "*v1.IncludeObjectPolicy": return "string" + case "*string": + return "string" // TODO: Fix these when go-restful supports a way to specify an array query param: // https://github.com/emicklei/go-restful/issues/225