From af2d8360008a4a3697e946fbdb435597826525e6 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 27 Aug 2023 16:31:50 +0000 Subject: [PATCH] zones: Env: drop unused ZONE{zoneID}_IP Signed-off-by: Alejandro Mery --- pkg/zones/env.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/zones/env.go b/pkg/zones/env.go index d362278..c51bf83 100644 --- a/pkg/zones/env.go +++ b/pkg/zones/env.go @@ -48,11 +48,6 @@ func (m *Env) writeEnvZone(w io.Writer, z *Zone) { gatewayID := getRingZeroGatewayID(z) if gatewayID > 0 { m.writeEnvVar(w, fmt.Sprintf("%v", gatewayID), "ZONE%v_%s", zoneID, "GW") - - // ZONE{zoneID}_IP - if ip, ok := RingZeroAddress(zoneID, gatewayID); ok { - m.writeEnvVar(w, ip.String(), "ZONE%v_%s", zoneID, "IP") - } } }