mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
lib/db: Improve VersionList.String (#5229)
This commit is contained in:
parent
03d0f0dc34
commit
cb0950b3fd
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user