Merge pull request #4502 from pweil-/service-list

service NewList should return ServiceList
This commit is contained in:
Nikhil Jindal 2015-02-17 14:51:44 -08:00
commit 50ed6ad851

View File

@ -205,7 +205,7 @@ func (*REST) New() runtime.Object {
} }
func (*REST) NewList() 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) { func (rs *REST) Update(ctx api.Context, obj runtime.Object) (runtime.Object, bool, error) {