diff --git a/pkg/registry/service/rest.go b/pkg/registry/service/rest.go index 521412c57c3..c5bfd5ccaab 100644 --- a/pkg/registry/service/rest.go +++ b/pkg/registry/service/rest.go @@ -205,7 +205,7 @@ func (*REST) New() runtime.Object { } func (*REST) NewList() runtime.Object { - return &api.Service{} + return &api.ServiceList{} } func (rs *REST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error) {