Skip to content

Commit 7895de8

Browse files
Doc: Fix :units: options for statistics.
1 parent ee5a7a4 commit 7895de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/ext/traffic-server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ def run(self):
251251
fl.append(self.make_field('Collection', stat_group))
252252
if ('type' in self.options):
253253
fl.append(self.make_field('Type', self.options['type']))
254-
if ('unit' in self.options):
255-
fl.append(self.make_field('Units', self.options['unit']))
254+
if ('units' in self.options):
255+
fl.append(self.make_field('Units', self.options['units']))
256256
fl.append(self.make_field('Datatype', stat_type))
257257
if ('introduced' in self.options and len(self.options['introduced']) > 0):
258258
fl.append(self.make_field('Introduced', self.options['introduced']))

0 commit comments

Comments
 (0)