Skip to content

Commit

Permalink
Update dummy example
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jul 29, 2017
1 parent fe1b913 commit 1e825bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/custom-controller/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"github.com/spf13/pflag"

api "k8s.io/api/core/v1"
extensions "k8s.io/api/extensions/v1beta1"

nginxconfig "k8s.io/ingress/controllers/nginx/pkg/config"
"k8s.io/ingress/core/pkg/ingress"
Expand Down Expand Up @@ -105,3 +106,7 @@ func (n DummyController) SetListers(lister ingress.StoreLister) {
func (n DummyController) DefaultIngressClass() string {
return "dummy"
}

func (n DummyController) UpdateIngressStatus(*extensions.Ingress) []api.LoadBalancerIngress {
return nil
}

0 comments on commit 1e825bc

Please sign in to comment.