Make default impls private

This commit is contained in:
Dan Mace
2015-04-15 16:50:08 -04:00
parent 312ccad3c1
commit bd7b719944
7 changed files with 38 additions and 30 deletions

View File

@@ -65,7 +65,7 @@ type objInterface interface {
func (reaper *ReplicationControllerReaper) Stop(namespace, name string) (string, error) {
rc := reaper.ReplicationControllers(namespace)
resizer, err := ResizerFor("ReplicationController", &RealResizerClient{*reaper})
resizer, err := ResizerFor("ReplicationController", NewResizerClient(*reaper))
if err != nil {
return "", err
}