mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
minor typo
This commit is contained in:
@@ -428,13 +428,13 @@ func (u *User) GetBandwidthAsString() string {
|
|||||||
if u.DownloadBandwidth > 0 {
|
if u.DownloadBandwidth > 0 {
|
||||||
result += utils.ByteCountSI(u.DownloadBandwidth*1000) + "/s."
|
result += utils.ByteCountSI(u.DownloadBandwidth*1000) + "/s."
|
||||||
} else {
|
} else {
|
||||||
result += "ulimited."
|
result += "unlimited."
|
||||||
}
|
}
|
||||||
result += " Upload: "
|
result += " Upload: "
|
||||||
if u.UploadBandwidth > 0 {
|
if u.UploadBandwidth > 0 {
|
||||||
result += utils.ByteCountSI(u.UploadBandwidth*1000) + "/s."
|
result += utils.ByteCountSI(u.UploadBandwidth*1000) + "/s."
|
||||||
} else {
|
} else {
|
||||||
result += "ulimited."
|
result += "unlimited."
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user