]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: datastore summary: indentation/whitespace error fix
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Oct 2020 20:24:25 +0000 (21:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Oct 2020 20:24:25 +0000 (21:24 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/DataStoreSummary.js

index 487f30f060addf8c800bd80284053494a6318a22..525486a5183a4aca6ad24ec1414df089e7a49df3 100644 (file)
@@ -1,27 +1,27 @@
 Ext.define('pve-rrd-datastore', {
     extend: 'Ext.data.Model',
     fields: [
-        'used',
-        'total',
-        'read_ios',
-        'read_bytes',
-        'write_ios',
-        'write_bytes',
-        'io_ticks',
-        {
-            name: 'io_delay', calculate: function(data) {
-                let ios = 0;
-                if (data.read_ios !== undefined) { ios += data.read_ios; }
-                if (data.write_ios !== undefined) { ios += data.write_ios; }
-                if (data.io_ticks === undefined) {
-                    return undefined;
-                } else if (ios === 0) {
-                    return 0;
-                }
-                return (data.io_ticks*1000.0)/ios;
-            },
-        },
-        { type: 'date', dateFormat: 'timestamp', name: 'time' },
+       'used',
+       'total',
+       'read_ios',
+       'read_bytes',
+       'write_ios',
+       'write_bytes',
+       'io_ticks',
+       {
+           name: 'io_delay', calculate: function(data) {
+               let ios = 0;
+               if (data.read_ios !== undefined) { ios += data.read_ios; }
+               if (data.write_ios !== undefined) { ios += data.write_ios; }
+               if (data.io_ticks === undefined) {
+                   return undefined;
+               } else if (ios === 0) {
+                   return 0;
+               }
+               return (data.io_ticks*1000.0)/ios;
+           },
+       },
+       { type: 'date', dateFormat: 'timestamp', name: 'time' },
     ],
 });