mirror of https://github.com/status-im/consul.git
add sameness to exported services structs in the api package (#16984)
This commit is contained in:
parent
b85a149eaf
commit
6bab6696cc
|
@ -54,6 +54,9 @@ type ServiceConsumer struct {
|
|||
|
||||
// Peer is the name of the peer to export the service to.
|
||||
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 }
|
||||
|
|
Loading…
Reference in New Issue