mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 00:13:52 +01:00
status: do not show problem field when none exists
This commit is contained in:
parent
b2f01e454f
commit
42056f7a32
@ -167,8 +167,10 @@ func (t *tui) draw() {
|
||||
}
|
||||
t.printf("Status: %s", rep.Status)
|
||||
t.newline()
|
||||
t.printf("Problem: %s", rep.Problem)
|
||||
t.newline()
|
||||
if (rep.Problem != "") {
|
||||
t.printf("Problem: %s", rep.Problem)
|
||||
t.newline()
|
||||
}
|
||||
|
||||
for _, fs := range rep.Completed {
|
||||
printFilesystem(fs, t)
|
||||
|
Loading…
Reference in New Issue
Block a user