Skip to content

Commit

Permalink
fix(backend): 大数据集群查看更多为空问题修复 TencentBlueKing#7228
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackvideo authored and iSecloud committed Oct 9, 2024
1 parent a5bcee3 commit e67ba3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_services/bigdata/resources/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _filter_instance_qs_hook(cls, storage_queryset, proxy_queryset, inst_fields,
instance_queryset = (
StorageInstance.objects.select_related("machine")
.prefetch_related("cluster")
.annotate(role=F("instance_inner_role"), instance_name=F("name"))
.annotate(role=F("instance_role"), instance_name=F("name"))
.filter(query_filters)
.values(*inst_fields)
.order_by("create_at")
Expand Down

0 comments on commit e67ba3d

Please sign in to comment.