Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ type CatalogRegistration struct {
Check *AgentCheck
Checks HealthChecks
SkipNodeUpdate bool
Partition string `json:",omitempty"`
Locality *Locality
Partition string `json:",omitempty"`
Locality *Locality `json:",omitempty"`
}

type CatalogDeregistration struct {
Expand Down
2 changes: 1 addition & 1 deletion api/peering.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type PeeringRemoteInfo struct {
Partition string
// Datacenter is the remote peer's datacenter.
Datacenter string
Locality *Locality
Locality *Locality `json:",omitempty"`
}

// Locality identifies where a given entity is running.
Expand Down