zones: add logger to Zone and Machine

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-07 14:51:01 +00:00
parent 5e5958d22e
commit 1bca1f7da1
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -88,6 +88,7 @@ func FilterMachines(m MachineIterator, cond func(*Machine) bool) (Machines, int)
// Zone represents one zone in a cluster
type Zone struct {
zones *Zones
logger
ID int `toml:"id"`
Name string `toml:"name"`