fix
This commit is contained in:
parent
5e9abeb82c
commit
8e571cd370
4
job.go
4
job.go
@ -973,9 +973,9 @@ func jobVaultStatus(j Job) {
|
||||
logOnError(err, "jobVaultStatus : getObjItem")
|
||||
out = fmt.Sprintf("%s<code>%-34s|%-5d |%-5d |", out, item.Name, depositList[i], withdrawList[i])
|
||||
if (depositList[i] - withdrawList[i]) >= 0 {
|
||||
out = fmt.Sprintf("%s-5d</code>\n", out, depositList[i]-withdrawList[i])
|
||||
out = fmt.Sprintf("%s%-5d</code>\n", out, depositList[i]-withdrawList[i])
|
||||
} else {
|
||||
out = fmt.Sprintf("%s,/code><pre>-5d</pre>\n", out, depositList[i]-withdrawList[i])
|
||||
out = fmt.Sprintf("%s,/code><pre>%-5d</pre>\n", out, depositList[i]-withdrawList[i])
|
||||
}
|
||||
}
|
||||
log.Printf("Vault Status :\n%s", out)
|
||||
|
Loading…
Reference in New Issue
Block a user