From d3cf01fc45879a2f687c41abd12af2d257e33f01 Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Wed, 13 Jun 2018 22:35:46 -0700 Subject: [PATCH] present legacy object IDs without the 'D' --- object/objectid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object/objectid.go b/object/objectid.go index 8abd08791..1f9b7b150 100644 --- a/object/objectid.go +++ b/object/objectid.go @@ -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.