diff --git a/pkg/apiserver/apiserver.go b/pkg/apiserver/apiserver.go index bb61e648d3a..eb75e013141 100644 --- a/pkg/apiserver/apiserver.go +++ b/pkg/apiserver/apiserver.go @@ -189,6 +189,7 @@ func (g *APIGroupVersion) InstallREST(container *restful.Container, root string, ws.Produces(restful.MIME_JSON) // TODO: require json on input //ws.Consumes(restful.MIME_JSON) + ws.ApiVersion(version) // TODO: add scheme to APIGroupVersion rather than using api.Scheme