avoid spamming slack

This commit is contained in:
Niko Storni 2018-08-21 14:07:30 -04:00
parent f05522a308
commit 9b35353ae2
No known key found for this signature in database
GPG key ID: F37FE63398800368

View file

@ -316,7 +316,7 @@ func (s SyncManager) checkUsedSpace() error {
if usedPctile >= 0.90 && !s.SkipSpaceCheck {
return errors.Err(fmt.Sprintf("more than 90%% of the space has been used. use --skip-space-check to ignore. Used: %.1f%%", usedPctile*100))
}
SendInfoToSlack("disk usage: %.1f%%", usedPctile*100)
log.Infof("disk usage: %.1f%%", usedPctile*100)
return nil
}