mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
accounting: show checking tag if available even on transfers
This commit is contained in:
parent
a5390dbbeb
commit
9baa4d1c3c
|
@ -98,6 +98,7 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
|
|||
ci := fs.GetConfig(ctx)
|
||||
stringList := make([]string, 0, len(tm.items))
|
||||
for _, tr := range tm._sortedSlice() {
|
||||
var what = tr.what
|
||||
if exclude != nil {
|
||||
exclude.mu.RLock()
|
||||
_, found := exclude.items[tr.remote]
|
||||
|
@ -109,8 +110,10 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
|
|||
var out string
|
||||
if acc := progress.get(tr.remote); acc != nil {
|
||||
out = acc.String()
|
||||
if what != "" {
|
||||
out += ", " + what
|
||||
}
|
||||
} else {
|
||||
what := tr.what
|
||||
if what == "" {
|
||||
what = tm.name
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user