Signed-off-by: Max Carrara <m.carr...@proxmox.com> Tested-by: Lukas Wagner <l.wag...@proxmox.com> Reviewed-by: Lukas Wagner <l.wag...@proxmox.com> --- Changes v1 --> v2: * none
www/manager6/Utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index f5608944..74e46694 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -118,7 +118,8 @@ Ext.define('PVE.Utils', { } if (service.ceph_version) { - var match = service.ceph_version.match(/version (\d+(\.\d+)*)/); + // See PVE/Ceph/Tools.pm - get_local_version + const match = service.ceph_version.match(/^ceph.*\sv?(\d+(?:\.\d+)+)/); if (match) { return match[1]; } -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel