fix some status display alignment

This commit is contained in:
Anton Schirg
2018-08-30 14:07:28 +02:00
parent acd2a68cfb
commit 48feaff054
2 changed files with 23 additions and 4 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ type Receiver interface {
type StepReport struct {
From, To string
Status string
Status StepState
Problem string
Bytes int64
ExpectedBytes int64
@@ -498,7 +498,7 @@ func (s *ReplicationStep) Report() *StepReport {
rep := StepReport{
From: from,
To: s.to.RelName(),
Status: s.state.String(),
Status: s.state,
Bytes: bytes,
ExpectedBytes: s.expectedSize,
}