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
+2
View File
@@ -10,6 +10,8 @@ import (
// A Machine is a machine on a Zone
type Machine struct {
zone *Zone
logger
ID int `toml:"id"`
Name string `toml:"-" json:"-" yaml:"-"`