mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-31 22:59:34 +00:00
adjust comments
Kubernetes-commit: e9fc6c28a202ded0228e8505f5e14f5ec2049a3d
This commit is contained in:
committed by
Kubernetes Publisher
parent
27f72fc0bc
commit
fa08fc21f5
@@ -40,8 +40,6 @@ func newGroupVersion(client *client, item handler3.OpenAPIV3DiscoveryGroupVersio
|
||||
}
|
||||
|
||||
func (g *groupversion) Schema() (*openapi_v3.Document, error) {
|
||||
// Check if this GVK is in the discovery map, if it is not, then it is not
|
||||
// available. No point making the request.
|
||||
data, err := g.client.restClient.Get().
|
||||
RequestURI(g.item.ServerRelativeURL).
|
||||
SetHeader("Accept", openAPIV3mimePb).
|
||||
|
Reference in New Issue
Block a user