From e2614836a8a6fa8ee74bc223f31be0a1c2207fd7 Mon Sep 17 00:00:00 2001 From: Dhia Ayachi Date: Thu, 23 Jun 2022 15:45:22 -0400 Subject: [PATCH] add missing tests for ServiceGateways --- agent/consul/state/catalog.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/consul/state/catalog.go b/agent/consul/state/catalog.go index 53808c8bab..66c095c826 100644 --- a/agent/consul/state/catalog.go +++ b/agent/consul/state/catalog.go @@ -2898,6 +2898,7 @@ func (s *Store) ServiceGateways(ws memdb.WatchSet, service string, entMeta *acl. q := Query{ Value: gs.Gateway.Name, EnterpriseMeta: gs.Gateway.EnterpriseMeta, + PeerName: peerName, } iterService, err := tx.Get(tableServices, indexService, q)