Skip to content

Commit

Permalink
Fix vs location snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean-Coakley authored Jul 2, 2020
1 parent 05cf128 commit 67fa84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/configs/virtualserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (vsc *virtualServerConfigurator) GenerateVirtualServerConfig(virtualServerE
locSnippets := r.LocationSnippets
// use referenced VirtualServer location snippet if the route does not define any
if r.LocationSnippets == "" {
locSnippets = vsrLocationSnippetsFromVs[r.Route]
locSnippets = vsrLocationSnippetsFromVs[vsrNamespaceName]
}

if len(r.Matches) > 0 {
Expand Down

0 comments on commit 67fa84e

Please sign in to comment.