]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: ceph code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 May 2021 12:35:43 +0000 (14:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 May 2021 12:35:43 +0000 (14:35 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/ceph/CephInstallWizard.js

index b5305364e9f394118e060f4733d057094144ae33..76fbdc63d4b4fcf9669c366c3c1d1c0f20fb2813 100644 (file)
@@ -463,13 +463,13 @@ Ext.define('PVE.ceph.CephInstallWizard', {
                    var nodename = me.nodename;
                    delete kv.nodename;
                    Proxmox.Utils.API2Request({
-                       url: '/nodes/' + nodename + '/ceph/init',
+                       url: `/nodes/${nodename}/ceph/init`,
                        waitMsgTarget: wizard,
                        method: 'POST',
                        params: kv,
                        success: function() {
                            Proxmox.Utils.API2Request({
-                               url: '/nodes/' + monNode + '/ceph/mon/' + monNode,
+                               url: `/nodes/${monNode}/ceph/mon/${monNode}`,
                                waitMsgTarget: wizard,
                                method: 'POST',
                                success: function() {