diff options
Diffstat (limited to 'glusternagios/storage.py')
-rwxr-xr-x | glusternagios/storage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glusternagios/storage.py b/glusternagios/storage.py index 1147d25..ff6b108 100755 --- a/glusternagios/storage.py +++ b/glusternagios/storage.py @@ -268,16 +268,16 @@ def getDisksForBrick(deviceName=None, brickName=None): return "" -#gets the brick's device name using df command +# gets the brick's device name using df command def getBrickDeviceName(brickName): brickName = brickName.rstrip() if brickName is "": return "" dfOut = getdf(brickName) - #The output will be similar to - #['Filesystem Size Used Avail Use% Mounted on', + # The output will be similar to + # ['Filesystem Size Used Avail Use% Mounted on', # '/dev/vda1 485M 34M 426M 8% /boot'] - #need to parse to get the device name + # need to parse to get the device name if len(dfOut) > 1: dfOutList = dfOut[1].split() if len(dfOutList) > 0: |