avoid spamming slack
This commit is contained in:
parent
f05522a308
commit
9b35353ae2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue