mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 04:10:26 +08:00
优化代码
This commit is contained in:
@@ -53,7 +53,7 @@ func (this *SyncClusterTask) loop() error {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, cluster := range resp.Clusters {
|
||||
for _, cluster := range resp.NodeClusters {
|
||||
_, err := rpcClient.NodeRPC().SyncNodesVersionWithCluster(ctx, &pb.SyncNodesVersionWithClusterRequest{
|
||||
NodeClusterId: cluster.Id,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user