cluster: pre-compute Zone's primary region
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -19,6 +19,7 @@ type ZoneIterator interface {
|
||||
// affinity.
|
||||
type Zone struct {
|
||||
zones *Cluster
|
||||
region *Region
|
||||
logger `json:"-" yaml:"-"`
|
||||
|
||||
ID rings.ZoneID
|
||||
|
||||
Reference in New Issue
Block a user