From c6c0b8957abd64b315c1796e41a780859e1a1b28 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 14 Sep 2024 19:15:40 +0300 Subject: [PATCH] Stop updating old PG configuration when the user manually deletes it --- mon/mon.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mon/mon.js b/mon/mon.js index 2966aa30..6c5496ee 100644 --- a/mon/mon.js +++ b/mon/mon.js @@ -218,6 +218,10 @@ class Mon } else if (key != '/stats' && key.substr(0, 13) != '/inode/stats/') { + if (key == '/config/pgs' && !kv.value) + { + this.old_pg_config = false; + } changed = true; } if (this.config.verbose)