Skip to content

Commit c090498

Browse files
committed
Merge pull request ganglia#121 from directionless/master
diskstat: per e9a4930, DEVICES should be None, not ''
2 parents 84c0887 + 1f4443b commit c090498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diskstat/python_modules/diskstat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def metric_cleanup():
484484

485485
logging.debug('running from cmd line')
486486
parser = OptionParser()
487-
parser.add_option('-d', '--devices', dest='devices', default='', help='devices to explicitly check')
487+
parser.add_option('-d', '--devices', dest='devices', default=None, help='devices to explicitly check')
488488
parser.add_option('-b', '--gmetric-bin', dest='gmetric_bin', default='/usr/bin/gmetric', help='path to gmetric binary')
489489
parser.add_option('-c', '--gmond-conf', dest='gmond_conf', default='/etc/ganglia/gmond.conf', help='path to gmond.conf')
490490
parser.add_option('-g', '--gmetric', dest='gmetric', action='store_true', default=False, help='submit via gmetric')

0 commit comments

Comments
 (0)