Skip to content

Commit

Permalink
fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheinblum committed Mar 22, 2024
1 parent 6584d3c commit 578c4e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtgateproxy/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type matchesFilter struct{}

func (r *JSONGateConfigResolver) loadConfig() (*[]resolver.Address, []byte, error) {
pairs := []map[string]interface{}{}
fmt.Printf("Loading config %v\n", r.jsonPath)
fmt.Printf("Loading config %v config for %v connections\n", r.jsonPath, *numConnectionsInt)

data, err := os.ReadFile(r.jsonPath)
if err != nil {
Expand All @@ -123,7 +123,7 @@ func (r *JSONGateConfigResolver) loadConfig() (*[]resolver.Address, []byte, erro

allAddrs := []resolver.Address{}
filteredAddrs := []resolver.Address{}
addrs := []resolver.Address{}
var addrs []resolver.Address
for _, pair := range pairs {
matchesAll := true
for k, v := range r.filters {
Expand Down

0 comments on commit 578c4e8

Please sign in to comment.