fix(healthcheck/reposize): output format
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
build / build (pull_request) Failing after 1m14s
build / trigger-build-image (pull_request) Has been skipped

This commit is contained in:
zzjc1234 2024-10-12 17:59:26 +08:00
parent d38876e016
commit dd40a17476

View File

@ -34,7 +34,7 @@ func RepoSize(conf_size float64) error {
}
}
if sum > int(conf_size*1024) {
return fmt.Errorf("Repository larger than %f M. Please clean up or contact the teaching team.", conf_size)
return fmt.Errorf("Repository larger than %.1f Mib. Please clean up or contact the teaching team.", conf_size)
}
return nil
}