make pays more obvious
This commit is contained in:
@@ -56,7 +56,13 @@ func (ji ntgVisionJobInfo) String() string {
|
||||
if ji.IsZero() {
|
||||
return ""
|
||||
}
|
||||
out := fmt.Sprintf("Pays:%v Auction:%v", ji.PayUpTo, ji.LoadState)
|
||||
out := ""
|
||||
if ji.PayUpTo != 0 {
|
||||
out = fmt.Sprintf("\nPAYS:%v\n%s", ji.PayUpTo, out)
|
||||
}
|
||||
if ji.LoadState != "" {
|
||||
out = fmt.Sprintf("%s Auction:%s", out, ji.LoadState)
|
||||
}
|
||||
if len(ji.StopsInfo) != 2 {
|
||||
return out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user