Gate apidiscovery/v2beta1 serving with a feature gate

Kubernetes-commit: 95d3d4a22d705ef6bf2d494c065743d356914e8d
This commit is contained in:
Jefftree
2025-03-13 17:58:06 +00:00
committed by Kubernetes Publisher
parent 595b7ca245
commit 8ddf4401e5
2 changed files with 2 additions and 2 deletions

View File

@@ -1425,7 +1425,7 @@ func TestMemCacheAggregatedServerGroups(t *testing.T) {
return
}
// Content-type is "aggregated" discovery format.
w.Header().Set("Content-Type", discovery.AcceptV2Beta1)
w.Header().Set("Content-Type", discovery.AcceptV2)
w.WriteHeader(http.StatusOK)
w.Write(output)
}))