present legacy object IDs without the 'D'

This commit is contained in:
Jarek Kowalski
2018-06-13 22:35:46 -07:00
parent 7dea2359c2
commit d3cf01fc45

View File

@@ -20,7 +20,7 @@ type HasObjectID interface {
// String returns string representation of ObjectID that is suitable for displaying in the UI.
func (i ID) String() string {
return string(i)
return strings.Replace(string(i), "D", "", -1)
}
// IndexObjectID returns the object ID of the underlying index object.