]> git.proxmox.com Git - pve-manager.git/commitdiff
influxdb: rework comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 May 2021 15:38:22 +0000 (17:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 May 2021 10:32:04 +0000 (12:32 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Status/InfluxDB.pm

index b2bd25d2eddb33947b7a76518a61a00db4e80289..fcb28800fe1ce1120ec1bb04fd218d7f429755ae 100644 (file)
@@ -94,7 +94,7 @@ sub update_qemu_status {
     }
     $object =~ s/\s/\\ /g;
 
-    # Duplicate keys may result in unwanted behavior
+    # VMID is already added in base $object above, so exclude it from being re-added
     build_influxdb_payload($class, $txn, $data, $ctime, $object, { 'vmid' => 1 });
 }
 
@@ -109,7 +109,7 @@ sub update_lxc_status {
     }
     $object =~ s/\s/\\ /g;
 
-    # Duplicate keys may result in unwanted behavior
+    # VMID is already added in base $object above, so exclude it from being re-added
     build_influxdb_payload($class, $txn, $data, $ctime, $object, { 'vmid' => 1 });
 }