projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f8896
)
lvm: remove duplicate call to lvm_submit()
author
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 5 Nov 2014 15:18:03 +0000
(16:18 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 5 Nov 2014 15:23:36 +0000
(16:23 +0100)
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.
src/lvm.c
patch
|
blob
|
history
diff --git
a/src/lvm.c
b/src/lvm.c
index
82d7f6f
..
9e24542
100644
(file)
--- 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);