mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Rename ListPods methods to List.
For greater similarity to pkg/client. Does not cover registry's ListPods. Fix an example in a comment.
This commit is contained in:
@@ -30,7 +30,7 @@ Most consumers should use the Config object to create a Client:
|
||||
if err != nil {
|
||||
// handle error
|
||||
}
|
||||
client.ListPods()
|
||||
client.Pods(ns).List()
|
||||
|
||||
More advanced consumers may wish to provide their own transport via a http.RoundTripper:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user