From 6e7b3fd969c4466bb54b520184ca743a547e223b Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Sat, 7 Jun 2014 21:56:14 -0700 Subject: [PATCH] Fix a compile error. --- pkg/apiserver/api_server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,