zones: Machine.IsGateway()
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ func getRingZeroGatewayID(z *Zone) int {
|
||||
firstNodeID = nodeID
|
||||
}
|
||||
|
||||
if _, found := p.getRingInfo(0); found {
|
||||
if p.IsGateway() {
|
||||
gatewayID = nodeID
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user