You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
If
--mountpoint
is specified by the user with a trailing slash (i.e./scratch/
instead of/scratch
), then the following command inbin/ebs-autoscale
:curr_size=$(df -BG ${MOUNTPOINT} | grep ${MOUNTPOINT} | awk '{print $2} ' | cut -d'G' -f1)
fails because
grep
does not find the ${MOUNTPOINT} string.I suggest trailing "/"s should be automatically trimmed from
--mountpoint
.Thanks!
The text was updated successfully, but these errors were encountered: