diff --git a/pkg/apiserver/api_server.go b/pkg/apiserver/api_server.go index d648e373173..376d4542f59 100644 --- a/pkg/apiserver/api_server.go +++ b/pkg/apiserver/api_server.go @@ -50,14 +50,13 @@ type Status struct { // TODO: consider migrating this to go-restful which is a more full-featured version of the same thing. type ApiServer struct { prefix string - apiName string storage map[string]RESTStorage } // New creates a new ApiServer object. // 'storage' contains a map of handlers. // 'prefix' is the hosting path prefix. -func New(storage map[string]RESTStorage, prefix, apiName string) *ApiServer { +func New(storage map[string]RESTStorage, prefix string) *ApiServer { return &ApiServer{ storage: storage, prefix: prefix,