Skip to content

Commit 046b6a0

Browse files
committed
Fixed output for ota status
1 parent 44935b5 commit 046b6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ota-api/dto.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (r Ota) String() string {
116116
}
117117

118118
// Now print the table
119-
line := []any{r.DeviceID, r.DeviceID, r.MapStatus(), formatHumanReadableTs(r.StartedAt), formatHumanReadableTs(r.EndedAt)}
119+
line := []any{r.DeviceID, r.ID, r.MapStatus(), formatHumanReadableTs(r.StartedAt), formatHumanReadableTs(r.EndedAt)}
120120
if hasErrorReason {
121121
line = append(line, r.ErrorReason)
122122
}

0 commit comments

Comments
 (0)