优化代码

This commit is contained in:
GoEdgeLab
2020-12-17 17:35:38 +08:00
parent 41ac159e23
commit a208cbaa41
33 changed files with 92 additions and 76 deletions

View File

@@ -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,
})