Fix func name PodResourcesLister (#14085)

* Fix func name PodResourcesLister

The func PodResources is change to PodResourcesLister.
See this https://github.com/kubernetes/kubernetes/blob/release-1.14/pkg/kubelet/apis/podresources/v1alpha1/api.proto#L19
Please check.

* Update device-plugins.md
pull/14163/head
千夜 2019-05-05 08:05:37 +08:00 committed by Kubernetes Prow Robot
parent 367afa62a4
commit e3e41a21c1
1 changed files with 2 additions and 2 deletions

View File

@ -148,9 +148,9 @@ The kubelet provides a gRPC service to enable discovery of in-use devices, and t
for these devices:
```gRPC
// PodResources is a service provided by the kubelet that provides information about the
// PodResourcesLister is a service provided by the kubelet that provides information about the
// node resources consumed by pods and containers on the node
service PodResources {
service PodResourcesLister {
rpc List(ListPodResourcesRequest) returns (ListPodResourcesResponse) {}
}
```