+6
-7
@@ -88,12 +88,12 @@ func FilterMachines(m MachineIterator, cond func(*Machine) bool) (Machines, int)
|
||||
// Zone represents one zone in a cluster
|
||||
type Zone struct {
|
||||
zones *Zones
|
||||
logger `toml:"-" json:"-" yaml:"-"`
|
||||
logger `json:"-" yaml:"-"`
|
||||
|
||||
ID int `toml:"id"`
|
||||
Name string `toml:"name"`
|
||||
ID int
|
||||
Name string
|
||||
|
||||
Machines `toml:"machines"`
|
||||
Machines
|
||||
}
|
||||
|
||||
func (z *Zone) String() string {
|
||||
@@ -147,9 +147,8 @@ type Zones struct {
|
||||
resolver resolver.Resolver
|
||||
domain string
|
||||
|
||||
CephFSID uuid.UUID `toml:"ceph_fsid,omitempty" json:"ceph_fsid,omitempty" yaml:"ceph_fsid,omitempty"`
|
||||
|
||||
Zones []*Zone `toml:"zones"`
|
||||
CephFSID uuid.UUID `json:"ceph_fsid,omitempty" yaml:"ceph_fsid,omitempty"`
|
||||
Zones []*Zone
|
||||
}
|
||||
|
||||
// revive:enable:line-length-limit
|
||||
|
||||
Reference in New Issue
Block a user