Remove createall now that create supports directories and sources

This commit is contained in:
Clayton Coleman
2015-01-03 15:38:33 -05:00
parent d1ab27762b
commit bc86b31a8b
9 changed files with 15 additions and 133 deletions

View File

@@ -99,7 +99,7 @@ func TestCreateDirectory(t *testing.T) {
return &http.Response{StatusCode: 201, Body: objBody(codec, &pods.Items[0])}, nil
case p == "/ns/test/services" && m == "POST":
return &http.Response{StatusCode: 201, Body: objBody(codec, &svc.Items[0])}, nil
case p == "/ns/test/replicationControllers" && m == "POST":
case p == "/ns/test/replicationcontrollers" && m == "POST":
return &http.Response{StatusCode: 201, Body: objBody(codec, &svc.Items[0])}, nil
default:
t.Fatalf("unexpected request: %#v\n%#v", req.URL, req)