From 4ec5884ca9e8e93c12fc08e9aeeec27c594f113f Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Tue, 8 Nov 2022 09:26:27 -0500 Subject: [PATCH] backport of commit d34e9ed5a8457bb60b658e8f0ee161179602e128 (#15286) This pull request was automerged via backport-assistant --- api/config_entry_exports.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/config_entry_exports.go b/api/config_entry_exports.go index 11cc8b19e7..52b0491f7c 100644 --- a/api/config_entry_exports.go +++ b/api/config_entry_exports.go @@ -44,10 +44,9 @@ type ExportedService struct { } // ServiceConsumer represents a downstream consumer of the service to be exported. -// At most one of Partition or PeerName must be specified. +// At most one of Partition or Peer must be specified. type ServiceConsumer struct { // Partition is the admin partition to export the service to. - // Deprecated: PeerName should be used for both remote peers and local partitions. Partition string `json:",omitempty"` // Peer is the name of the peer to export the service to.