代码拉取完成,页面将自动刷新
From 61c156368061963be5e5e9ef7a9eee5012b2f13a Mon Sep 17 00:00:00 2001
From: Robert Altnoeder <robert.altnoeder@linbit.com>
Date: Thu, 15 Feb 2024 17:24:20 +0100
Subject: [PATCH 065/100] DRBDmon: Remove replication state from volume
details, it's always unknown
---
user/drbdmon/terminal/MDspVolumeDetail.cpp | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/user/drbdmon/terminal/MDspVolumeDetail.cpp b/user/drbdmon/terminal/MDspVolumeDetail.cpp
index 4fa06ba0..1f20aab9 100644
--- a/user/drbdmon/terminal/MDspVolumeDetail.cpp
+++ b/user/drbdmon/terminal/MDspVolumeDetail.cpp
@@ -122,28 +122,6 @@ void MDspVolumeDetail::display_content()
}
++current_line;
- dsp_comp_hub.dsp_io->cursor_xy(1, current_line);
- dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->emphasis_text.c_str());
- dsp_comp_hub.dsp_io->write_text("Replication state:");
- dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->rst.c_str());
- dsp_comp_hub.dsp_io->cursor_xy(21, current_line);
- if (vlm->has_replication_alert())
- {
- dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->alert.c_str());
- }
- else
- if (vlm->has_replication_warning())
- {
- dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->warn.c_str());
- }
- else
- {
- dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->norm.c_str());
- }
- const char* const repl_state_label = vlm->get_replication_state_label();
- dsp_comp_hub.dsp_io->write_text(repl_state_label);
- ++current_line;
-
dsp_comp_hub.dsp_io->cursor_xy(1, current_line);
dsp_comp_hub.dsp_io->write_text(dsp_comp_hub.active_color_table->emphasis_text.c_str());
dsp_comp_hub.dsp_io->write_text("Quorum:");
--
2.33.1.windows.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。