update String format
This commit is contained in:
parent
2a8e3444d4
commit
ace0c7f300
|
|
@ -22,7 +22,7 @@ type Version struct {
|
|||
|
||||
func (v *Version) String() string {
|
||||
return fmt.Sprintf(
|
||||
"id:%d, name:%s, bytes:%d, segment_index_size:%d",
|
||||
"{id:%d, name:%s, bytes:%d, segment_index_size:%d}",
|
||||
v.Id, v.Name, v.Bytes, v.SegmentIndexSize,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue