Skip to content

Commit

Permalink
reset parseErr in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
dedelala committed Apr 24, 2024
1 parent 101d2be commit c4c2c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgateproxy/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ func (b *JSONGateResolverBuilder) start() error {
}
continue
}
parseErr = nil
if !contentsChanged {
parseCount.Add("unchanged", 1)
continue
}
parseErr = nil
parseCount.Add("changed", 1)

// notify all the resolvers that the targets changed
Expand Down

0 comments on commit c4c2c24

Please sign in to comment.