Skip to content

Commit

Permalink
examples/
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax committed Oct 25, 2020
1 parent 8ee1637 commit 0e98260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/dynamic-configuration/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
RouteName = "local_route"
ListenerName = "listener_0"
ListenerPort = 10000
UpstreamHost = "service2"
UpstreamHost = "service1"
UpstreamPort = 8080
)

Expand Down Expand Up @@ -166,7 +166,7 @@ func makeConfigSource() *core.ConfigSource {

func GenerateSnapshot() cache.Snapshot {
return cache.NewSnapshot(
"2",
"1",
[]types.Resource{}, // endpoints
[]types.Resource{makeCluster(ClusterName)},
[]types.Resource{makeRoute(RouteName, ClusterName)},
Expand Down

0 comments on commit 0e98260

Please sign in to comment.