Skip to content

Commit

Permalink
Merge pull request #22 from mscherer/fix_grammar
Browse files Browse the repository at this point in the history
Various grammar/typo fixes
  • Loading branch information
aravindavk authored Oct 25, 2017
2 parents 96fb408 + 37ba00f commit d996e4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glusterhealth/reports/coredump.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def report_coredump(ctx):
try:
out = command_output(cmd)
if out.strip() == "unlimited":
ctx.ok("The maximum size of core files created is set to unlimted.")
ctx.ok("The maximum size of core files created is set to unlimited.")
else:
ctx.notok("The maximum size of core files created is NOT set to unlimited.")
except CommandError as e:
Expand Down
2 changes: 1 addition & 1 deletion glusterhealth/reports/disk_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def check_disk_usage_percentage(ctx, path, percentage=0):
if out.percentage:
used_percent = int(out.percentage.split('%')[0])
if used_percent >= percentage:
ctx.notok("Disk used percentage is exceeding, consider deleting unneccesary data", path=path, percentage=percentage)
ctx.notok("Disk used percentage is exceeding threshold, consider deleting unnecessary data", path=path, percentage=percentage)
else:
ctx.ok("Disk used percentage", path=path, percentage=used_percent)

Expand Down
2 changes: 1 addition & 1 deletion glusterhealth/reports/ifconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for interface in $(ifconfig | grep -v ^\ | grep ':' | cut -f 1 -d':'); do
echo $rx_err | grep -v -q -e '[1-9]'
RET=$?
if [ $RET != 0 ] ; then
NOTOK Recieve errors in \"ifconfig $interface\" output
NOTOK Receive errors in \"ifconfig $interface\" output
LOGWARNING RX Errors seen, try 'ethtool': $rx_err
LOGINFO $(ethtool -S $interface);
all_ok=0
Expand Down

0 comments on commit d996e4a

Please sign in to comment.