Skip to content

Commit

Permalink
Repalce device name '/' replace to '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
n0ts committed Mar 21, 2015
1 parent 4eda5ff commit da69c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gmond/python_modules/disk/diskstat.py
Expand Up @@ -269,6 +269,7 @@ def update_stats():

# Get values for each disk device
for dev in PARTITIONS:
dev = dev.replace('/', '-')
logging.debug(" dev: " + dev)

# Setup storage lists
Expand Down

0 comments on commit da69c08

Please sign in to comment.