From 50bf0076436b9f8ec92901230acc5ab3240e9340 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 5 Nov 2021 15:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/task_sync_api_nodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/task_sync_api_nodes.go b/internal/nodes/task_sync_api_nodes.go index 74b1da0..4db9265 100644 --- a/internal/nodes/task_sync_api_nodes.go +++ b/internal/nodes/task_sync_api_nodes.go @@ -64,7 +64,7 @@ func (this *SyncAPINodesTask) Loop() error { } newEndpoints := []string{} - for _, node := range resp.Nodes { + for _, node := range resp.ApiNodes { if !node.IsOn { continue }