fix readme
This commit is contained in:
parent
ff9ed8ac10
commit
72c2be5554
|
@ -162,9 +162,9 @@ defaults () {
|
|||
# if needed. Returning 1 will disable this metric and report a warning.
|
||||
start () {
|
||||
if [ $DIR_SIZE_IN_MB = false ]; then
|
||||
DU_ARGS="-s -m $DIR_SIZE_PATH"
|
||||
else
|
||||
DU_ARGS="-s -k $DIR_SIZE_PATH"
|
||||
else
|
||||
DU_ARGS="-s -m $DIR_SIZE_PATH"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ main_collect () {
|
|||
if is_function __m_${metric_alias}_start; then
|
||||
__m_${metric_alias}_start
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Warning: metric '${metric_alias}' is disabled after failing to start"
|
||||
echo "Warning: metric '${metric_alias}' is disabled after it failed to start"
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue