zones: rename Machine.RingAddresses to Machine.Rings

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-08-24 20:52:08 +00:00
parent 30a7bceda3
commit 0f62ee2e53
4 changed files with 10 additions and 13 deletions
+1 -4
View File
@@ -6,19 +6,16 @@ import (
"net/netip"
"path/filepath"
"strings"
"sync"
)
// A Machine is a machine on a Zone
type Machine struct {
mu sync.Mutex
zone *Zone
ID int
Name string `toml:"name"`
PublicAddresses []netip.Addr `toml:"public,omitempty"`
RingAddresses []*RingInfo `toml:"rings,omitempty"`
Rings []*RingInfo `toml:"rings,omitempty"`
}
func (m *Machine) String() string {