From: Marc Fournier Date: Wed, 5 Nov 2014 15:18:03 +0000 (+0100) Subject: lvm: remove duplicate call to lvm_submit() X-Git-Tag: collectd-5.5.0~163^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fa6a43d82adf783a3e133b8811f71f366a288735;p=collectd.git lvm: remove duplicate call to lvm_submit() This got added by accident when solving the merge conflict in 103f05e0. It led to the plugin triggering the classical "uc_update: Value too old" error message. --- diff --git a/src/lvm.c b/src/lvm.c index 82d7f6fe..9e245423 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -125,10 +125,6 @@ static void vg_read(vg_t vg, char const *vg_name) } dm_list_iterate_items(lvl, lvs) { - lvm_submit(vg_name, lvm_lv_get_name(lvl->lv), lvm_lv_get_size(lvl->lv)); - } - - dm_list_iterate_items(lvl, lvs) { name = lvm_lv_get_name(lvl->lv); attrs = get_lv_property_string(lvl->lv, "lv_attr"); size = lvm_lv_get_size(lvl->lv);