Browse Source

backport of commit d34e9ed5a8 (#15286)

This pull request was automerged via backport-assistant
pull/15299/head
hc-github-team-consul-core 2 years ago committed by GitHub
parent
commit
4ec5884ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      api/config_entry_exports.go

3
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.

Loading…
Cancel
Save