From d0b908bcaafb5022d2c7b7e43b032ad46b3f770e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sun, 4 Sep 2022 06:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=B7=BB=E5=8A=A0firewalld?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=BC=82=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/api_node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/api_node.go b/internal/nodes/api_node.go index 3a781117..0dd7c8fa 100644 --- a/internal/nodes/api_node.go +++ b/internal/nodes/api_node.go @@ -577,7 +577,7 @@ func (this *APINode) listenPorts(apiNode *models.APINode) (isListening bool) { // add to local firewall if len(ports) > 0 { - utils.AddPortsToFirewall(ports) + go utils.AddPortsToFirewall(ports) } return