Add fake client to make testing easier.

This commit is contained in:
Daniel Smith
2014-08-05 16:19:32 -07:00
parent 097147545c
commit 85ff1d3e7f
4 changed files with 158 additions and 1 deletions

View File

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