fix(healthcheck/reposize): unit
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Has been skipped
build / build (pull_request) Successful in 1m3s
build / trigger-build-image (pull_request) Has been skipped

This commit is contained in:
zzjc1234 2024-10-11 19:06:21 +08:00
parent 57c50c4f68
commit c3ed1413a5

View File

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