From ca62cd81870590977f77e95636754214d842814c Mon Sep 17 00:00:00 2001
From: bizhiyuan <bizhiyuan@kylinos.cn>
Date: Mon, 4 Sep 2023 10:00:40 +0800
Subject: [PATCH] Fix a bug in clone resource description display

---
 lib/pengine/pe_output.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/pengine/pe_output.c b/lib/pengine/pe_output.c
index 68cc867..d9e2620 100644
--- a/lib/pengine/pe_output.c
+++ b/lib/pengine/pe_output.c
@@ -20,8 +20,7 @@ pe__resource_description(const pe_resource_t *rsc, uint32_t show_opts)
 {
     const char * desc = NULL;
     // User-supplied description
-    if (pcmk_any_flags_set(show_opts, pcmk_show_rsc_only|pcmk_show_description)
-        || pcmk__list_of_multiple(rsc->running_on)) {
+    if (pcmk_any_flags_set(show_opts, pcmk_show_rsc_only|pcmk_show_description)){
         desc = crm_element_value(rsc->xml, XML_ATTR_DESC);
     }
     return desc;
-- 
2.27.0

