From 8d3484d0ca8c1c995e73c270de1a89cf3f26adf0 Mon Sep 17 00:00:00 2001 From: Bruce Lee Date: Tue, 9 Jan 2018 16:10:30 +0800 Subject: [PATCH] Update storcli.py (#783) --- text_collector_examples/storcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_collector_examples/storcli.py b/text_collector_examples/storcli.py index 42b1db35..31662909 100755 --- a/text_collector_examples/storcli.py +++ b/text_collector_examples/storcli.py @@ -90,7 +90,7 @@ def main(args): if controller_info: print('# HELP {}{} MegaRAID controller info'.format(metric_prefix, 'controller_info')) - print('# TYPE {}{} gauge'.format(metric_prefix, name)) + print('# TYPE {}{} gauge'.format(metric_prefix, 'controller_info')) for labels in controller_info: print('{}{}{} {}'.format(metric_prefix, 'controller_info', labels, 1))