mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Add fake client to make testing easier.
This commit is contained in:
@@ -247,7 +247,7 @@ func executeAPIRequest(method string, s *kube_client.Client) bool {
|
||||
|
||||
r := s.Verb(verb).
|
||||
Path(path).
|
||||
ParseSelector(*selector)
|
||||
ParseSelectorParam("labels", *selector)
|
||||
if setBody {
|
||||
if version != 0 {
|
||||
data := readConfig(storage)
|
||||
|
Reference in New Issue
Block a user