mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
service NewList should return ServiceList
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user