Skip to content

Commit

Permalink
fix: team running_apps NoneType error
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <smallqi1@163.com>
  • Loading branch information
zzzhangqi committed Dec 28, 2024
1 parent 5c85cae commit af496c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions console/services/team_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def jg_teams(self, eid, teams):
tenant["running_apps"] = 0
tenant["memory_request"] = 0
tenant["cpu_request"] = 0
tenants[team.tenant_id] = tenant
if region_dict:
region_tenants = list()
for region_id in region_dict.keys():
Expand Down

0 comments on commit af496c7

Please sign in to comment.