fix syntax
Wing924 committed
Feb 23, 2018 at 11:43 UTC
32688f48e075cd5cd5ea9604368b2faeb34d8e33
1 file changed
+2
-2
python.d/springboot.chart.py
+2
-2
@@ -117,8 +117,8 @@ class Service(UrlService):
117
options = chart.get('options', None) or die('option is not defined in extra chart: %s' % chart_id)
118
lines = chart.get('lines', None) or die('lines is not defined in extra chart: %s' % chart_id)
119
120
- title = options.get('title', None) or die('title is missing: %s' chart_id)
121
- units = options.get('units', None) or die('units is missing: %s' chart_id)
120
+ title = options.get('title', None) or die('title is missing: %s' % chart_id)
121
+ units = options.get('units', None) or die('units is missing: %s' % chart_id)
122
family = options.get('family', title)
123
context = options.get('context', 'springboot.' + title)
124
charttype = options.get('charttype', 'line')