Browse Source

add sameness to exported services structs in the api package (#16984)

pull/16956/head^2
Eric Haberkorn 2 years ago committed by GitHub
parent
commit
6bab6696cc
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

@ -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…
Cancel
Save