优化API/修改用户集群不影响套餐服务

This commit is contained in:
刘祥超
2022-05-25 11:44:18 +08:00
parent 86bec813bf
commit 95a2187f95
5 changed files with 17 additions and 6 deletions

View File

@@ -400,7 +400,7 @@ func (this *NodeService) FindAllEnabledNodesWithNodeClusterId(ctx context.Contex
tx := this.NullTx()
nodes, err := models.SharedNodeDAO.FindAllEnabledNodesWithClusterId(tx, req.NodeClusterId)
nodes, err := models.SharedNodeDAO.FindAllEnabledNodesWithClusterId(tx, req.NodeClusterId, req.IncludeSecondary)
if err != nil {
return nil, err
}