diff --git a/go/vt/vtgateproxy/discovery.go b/go/vt/vtgateproxy/discovery.go index 2b3f90d35ad..ed69086d687 100644 --- a/go/vt/vtgateproxy/discovery.go +++ b/go/vt/vtgateproxy/discovery.go @@ -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