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 -1
View File
@@ -86,7 +86,7 @@ func getRingZeroGatewayID(z *Zone) int {
firstNodeID = p.ID
}
if _, found := p.getRingInfo(0); found {
if _, ok := p.getRingInfo(0); ok {
gatewayID = p.ID
}