use interface instead of implementation

This commit is contained in:
chentao1596 2017-03-24 10:17:39 +08:00
parent 116fbe8c33
commit 9f5ed978b9
2 changed files with 4 additions and 4 deletions

View file

@ -111,7 +111,7 @@ type GenericController struct {
// Configuration contains all the settings required by an Ingress controller
type Configuration struct {
Client *clientset.Clientset
Client clientset.Interface
ResyncPeriod time.Duration
DefaultService string