add sameness to exported services structs in the api package (#16984)
This commit is contained in:
parent
825663b38a
commit
f89938e56b
|
@ -54,6 +54,9 @@ type ServiceConsumer struct {
|
||||||
|
|
||||||
// Peer is the name of the peer to export the service to.
|
// Peer is the name of the peer to export the service to.
|
||||||
Peer string `json:",omitempty" alias:"peer_name"`
|
Peer string `json:",omitempty" alias:"peer_name"`
|
||||||
|
|
||||||
|
// SamenessGroup is the name of the sameness group to export the service to.
|
||||||
|
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *ExportedServicesConfigEntry) GetKind() string { return ExportedServices }
|
func (e *ExportedServicesConfigEntry) GetKind() string { return ExportedServices }
|
||||||
|
|
Loading…
Reference in New Issue