Commit 5c14fc61 authored by Brendan Burns's avatar Brendan Burns

Merge pull request #3045 from nikhiljindal/setApiVersion

Setting apiVersion in restful.WebService
parents 96eede60 cfee8f13
......@@ -194,6 +194,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment