lib/db: Improve VersionList.String (#5229)

This commit is contained in:
Simon Frei 2018-09-26 23:30:22 +02:00 committed by GitHub
parent 03d0f0dc34
commit cb0950b3fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func (vl VersionList) String() string {
b.WriteString(", ")
}
copy(id[:], v.Device)
fmt.Fprintf(&b, "{%v, %v}", v.Version, id)
fmt.Fprintf(&b, "{%v, %v, %v}", v.Version, id, v.Invalid)
}
b.WriteString("}")
return b.String()