Fixes the experimental api, which appeared to be completely broken.

Fix for rebase with nikhiljindal/deploymentController
This commit is contained in:
Timothy St. Clair
2015-08-31 12:29:18 -04:00
parent c28b68d254
commit 2b7e758c3c
15 changed files with 73 additions and 130 deletions

View File

@@ -52,7 +52,7 @@ func IsNoSuchReaperError(err error) bool {
return ok
}
func ReaperFor(kind string, c client.Interface, ec *client.ExperimentalClient) (Reaper, error) {
func ReaperFor(kind string, c client.Interface) (Reaper, error) {
switch kind {
case "ReplicationController":
return &ReplicationControllerReaper{c, Interval, Timeout}, nil