service NewList should return ServiceList

pull/6/head
Paul Weil 2015-02-17 16:30:29 -05:00
parent 309a81d8da
commit 8d7d03a2f8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {