Skip to content

Commit

Permalink
获取本节点信息时不返回未启用的发布集
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Oct 15, 2022
1 parent aec57cc commit e50360a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Stardust.Server/Controllers/DeployController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public DeployInfo[] GetAll()
var rs = new List<DeployInfo>();
foreach (var item in list)
{
// 不返回未启用的发布集
if (!item.Enable) continue;

var app = item.App;
if (app == null) continue;

Expand Down

0 comments on commit e50360a

Please sign in to comment.