accounting: show checking tag if available even on transfers
This commit is contained in:
parent
a5390dbbeb
commit
9baa4d1c3c
1 changed files with 4 additions and 1 deletions
|
@ -98,6 +98,7 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
|
||||||
ci := fs.GetConfig(ctx)
|
ci := fs.GetConfig(ctx)
|
||||||
stringList := make([]string, 0, len(tm.items))
|
stringList := make([]string, 0, len(tm.items))
|
||||||
for _, tr := range tm._sortedSlice() {
|
for _, tr := range tm._sortedSlice() {
|
||||||
|
var what = tr.what
|
||||||
if exclude != nil {
|
if exclude != nil {
|
||||||
exclude.mu.RLock()
|
exclude.mu.RLock()
|
||||||
_, found := exclude.items[tr.remote]
|
_, found := exclude.items[tr.remote]
|
||||||
|
@ -109,8 +110,10 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
|
||||||
var out string
|
var out string
|
||||||
if acc := progress.get(tr.remote); acc != nil {
|
if acc := progress.get(tr.remote); acc != nil {
|
||||||
out = acc.String()
|
out = acc.String()
|
||||||
|
if what != "" {
|
||||||
|
out += ", " + what
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
what := tr.what
|
|
||||||
if what == "" {
|
if what == "" {
|
||||||
what = tm.name
|
what = tm.name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue