mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix test
This commit is contained in:
parent
21ef152423
commit
ede6ce44c6
|
@ -121,7 +121,7 @@ func (c *commandS3BucketQuotaEnforce) processEachBucket(fc *filer.FilerConf, fil
|
||||||
}
|
}
|
||||||
|
|
||||||
if hasConfChanges {
|
if hasConfChanges {
|
||||||
fmt.Fprintf(writer, " %s\tsize:%d", entry.Name, collectionSize)
|
fmt.Fprintf(writer, " %s\tsize:%.0f", entry.Name, collectionSize)
|
||||||
fmt.Fprintf(writer, "\tquota:%d\tusage:%.2f%%", entry.Quota, collectionSize*100/float64(entry.Quota))
|
fmt.Fprintf(writer, "\tquota:%d\tusage:%.2f%%", entry.Quota, collectionSize*100/float64(entry.Quota))
|
||||||
fmt.Fprintln(writer)
|
fmt.Fprintln(writer)
|
||||||
if locConf.ReadOnly {
|
if locConf.ReadOnly {
|
||||||
|
|
Loading…
Reference in a new issue