From e70f572eebfc44a44217f495487a5761bde7911d Mon Sep 17 00:00:00 2001 From: s0 <_@s0.is> Date: Thu, 15 Jul 2021 19:55:24 +1000 Subject: [PATCH] Fix copy-paste bug where objects graph was never updated. --- plugins/openstack/openstack_swift_stats_ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openstack/openstack_swift_stats_ b/plugins/openstack/openstack_swift_stats_ index abe4cc68..070a516b 100755 --- a/plugins/openstack/openstack_swift_stats_ +++ b/plugins/openstack/openstack_swift_stats_ @@ -106,7 +106,7 @@ growth.min 0 multigraph openstack_swift_stats_objects graph_title Swift container object count ($CONTAINER) graph_category cloud -graph_vlabel +graph_vlabel graph_args --base=1000 -l 0 graph_period hour objects.label Objects @@ -142,6 +142,6 @@ printf "multigraph openstack_swift_stats_objects\n" case $OBJECTS_COUNT in (*[!0-9]*|'') printf "U\n";; # Emit magic error value - (*) printf "size.value %s\ngrowth.value %s\n" "$OBJECTS_COUNT" "$OBJECTS_COUNT";; + (*) printf "objects.value %s\nobjgrowth.value %s\n" "$OBJECTS_COUNT" "$OBJECTS_COUNT";; esac