mirror of
https://github.com/zrepl/zrepl.git
synced 2025-01-11 08:49:28 +01:00
status: only show active not all versions of active filesystem
This commit is contained in:
parent
583773025f
commit
47d8a5a7cd
@ -244,11 +244,9 @@ func printFilesystem(rep *fsrep.Report, t *tui, versions bool) {
|
|||||||
t.newline()
|
t.newline()
|
||||||
t.addIndent(-1)
|
t.addIndent(-1)
|
||||||
}
|
}
|
||||||
if versions {
|
if versions && len(rep.Pending) > 0 {
|
||||||
vs := append(rep.Completed, rep.Pending...)
|
v := rep.Pending[0]
|
||||||
for _, v := range vs {
|
t.drawBar(" " + v.To, v.Status, v.Bytes, v.ExpectedBytes)
|
||||||
t.drawBar(" " + v.To, v.Status, v.Bytes, v.ExpectedBytes)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user