cluster: introduce NodeID and ZoneID types

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2024-05-28 19:40:18 +00:00
parent e1186975a6
commit 6c875ae832
11 changed files with 72 additions and 57 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func (m *Machine) setID() error {
return err
}
m.ID = int(id)
m.ID = NodeID(id)
return nil
}