[pve-devel] [PATCH v4 pve-storage 09/13] cephconfig: emit warning for lines that fail to parse
Max Carrara
m.carrara at proxmox.com
Tue Mar 5 16:07:51 CET 2024
Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
Changes v3 --> v4:
* new
src/PVE/CephConfig.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/CephConfig.pm b/src/PVE/CephConfig.pm
index 6b7bbd4..da28940 100644
--- a/src/PVE/CephConfig.pm
+++ b/src/PVE/CephConfig.pm
@@ -70,6 +70,8 @@ sub parse_ceph_config {
next;
}
+
+ warn "failed to parse line - skip: $line\n";
}
return $cfg;
--
2.39.2
More information about the pve-devel
mailing list