From a0262d58b0de5d7808b3c6fe484fb0cdb8e6660a Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Thu, 26 Aug 2021 14:14:01 +0300 Subject: [PATCH] [#335] linter: Sync receiver name for `Tombstone` Signed-off-by: Pavel Karpy --- pkg/object/tombstone.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/object/tombstone.go b/pkg/object/tombstone.go index 1d7e5226..2d8ca654 100644 --- a/pkg/object/tombstone.go +++ b/pkg/object/tombstone.go @@ -28,8 +28,8 @@ func NewTombstone() *Tombstone { // ToV2 converts Tombstone to v2 Tombstone message. // // Nil Tombstone converts to nil. -func (ts *Tombstone) ToV2() *tombstone.Tombstone { - return (*tombstone.Tombstone)(ts) +func (t *Tombstone) ToV2() *tombstone.Tombstone { + return (*tombstone.Tombstone)(t) } // ExpirationEpoch return number of tombstone expiration epoch.