Skip to content

Commit

Permalink
Add missing AddEventHandler method to Istio VirtualService source
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredkrohmer committed Apr 13, 2020
1 parent 4c84fa8 commit d438945
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/istio_virtualservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ func (sc *istioVirtualServiceSource) Endpoints() ([]*endpoint.Endpoint, error) {
return endpoints, nil
}

func (sc *istioVirtualServiceSource) AddEventHandler(handler func() error, stopChan <-chan struct{}, minInterval time.Duration) {
}

func (sc *istioVirtualServiceSource) getGateway(gateway string, vsconfig *istiomodel.Config) *istiomodel.Config {
if gateway == "" || gateway == "mesh" {
// This refers to "all sidecars in the mesh"; ignore.
Expand Down

0 comments on commit d438945

Please sign in to comment.