Update api package exported services comment. (#15285)

This commit is contained in:
Eric Haberkorn 2022-11-08 09:26:07 -05:00 committed by GitHub
parent a3f57cc5e8
commit e46b669fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -44,10 +44,9 @@ type ExportedService struct {
} }
// ServiceConsumer represents a downstream consumer of the service to be exported. // 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 { type ServiceConsumer struct {
// Partition is the admin partition to export the service to. // 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"` Partition string `json:",omitempty"`
// Peer is the name of the peer to export the service to. // Peer is the name of the peer to export the service to.