Prune unused parameters and call only once

This commit is contained in:
Dr. Stefan Schimanski
2016-09-23 14:52:42 +02:00
parent 0829f39b39
commit acf0a5264a
4 changed files with 5 additions and 5 deletions

View File

@@ -747,7 +747,6 @@ func (m *Master) InstallThirdPartyResource(rsrc *extensions.ThirdPartyResource)
m.HandlerContainer.Add(apiserver.NewGroupWebService(api.Codecs, path, apiGroup))
m.addThirdPartyResourceStorage(path, plural.Resource, thirdparty.Storage[plural.Resource].(*thirdpartyresourcedataetcd.REST), apiGroup)
apiserver.InstallServiceErrorHandler(api.Codecs, m.HandlerContainer, m.NewRequestInfoResolver(), []string{thirdparty.GroupVersion.String()})
return nil
}