feat/reposize #56
|
@ -33,7 +33,7 @@ func RepoSize(conf_size float64) error {
|
|||
sum += size
|
||||
}
|
||||
}
|
||||
if sum > int(conf_size*1024*1024) {
|
||||
if sum > int(conf_size*1024) {
|
||||
return fmt.Errorf("Repository larger than %f M. Please clean up or contact the teaching team.", conf_size)
|
||||
zzjc123 marked this conversation as resolved
Outdated
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user
We should use
%.1f Mib
here for clearance.