From 2c4c64d0f55c1a0a8b4d0abf69367a01ed863c4c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 21 Nov 2022 21:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/node.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/nodes/node.go b/internal/nodes/node.go index 357e03d..3faaef5 100644 --- a/internal/nodes/node.go +++ b/internal/nodes/node.go @@ -1133,6 +1133,7 @@ func (this *Node) reloadServer() { } } +// 检查硬盘 func (this *Node) checkDisk() { if runtime.GOOS != "linux" { return @@ -1154,6 +1155,7 @@ func (this *Node) checkDisk() { } } +// 检查API节点地址 func (this *Node) changeAPINodeAddrs(apiNodeAddrs []*serverconfigs.NetworkAddressConfig) { var addrs = []string{} for _, addr := range apiNodeAddrs {