!2198 删除指定summary级别时,wdr内的存在的detail信息

Merge pull request !2198 from 胡正超/wdr
This commit is contained in:
opengauss-bot
2022-09-21 02:59:01 +00:00
committed by Gitee

View File

@ -2361,7 +2361,9 @@ static void ReplicationStat(report_params* params)
}
static void GetUtilityStatus(report_params* params)
{
if (!is_single_node_report(params)) {
/* supported report type: detail/all */
/* supported report scope: cluster */
if (is_summary_report(params) || is_cluster_report(params)) {
return;
}
dashboard* dash = CreateDash();
@ -2392,7 +2394,9 @@ static void GetUtilityStatus(report_params* params)
static void GetConfigSettings(report_params* params)
{
if (!is_single_node_report(params)) {
/* supported report type: detail/all */
/* supported report scope: cluster */
if (is_summary_report(params) || is_cluster_report(params)) {
return;
}
dashboard* dash = CreateDash();