From d9f9a03625561323c6f705103e4768101dc8f4b1 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Apr 2021 11:55:26 +0300 Subject: [PATCH] neofs: fix linter warnings neofs/client-plant.go:78:1 golint receiver name cc should be consistent with previous receiver name cp for neofsClientPlant neofs/client-plant.go:85:1 golint receiver name cc should be consistent with previous receiver name cp for neofsClientPlant --- neofs/client-plant.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neofs/client-plant.go b/neofs/client-plant.go index 7b64d66..e2d6c5c 100644 --- a/neofs/client-plant.go +++ b/neofs/client-plant.go @@ -75,15 +75,15 @@ func (cp *neofsClientPlant) ConnectionArtifacts() (client.Client, *token.Session return cp.pool.ConnectionArtifacts() } -func (cc *neofsClientPlant) Object() ObjectClient { +func (cp *neofsClientPlant) Object() ObjectClient { return &neofsObjectClient{ - key: cc.key, - pool: cc.pool, + key: cp.key, + pool: cp.pool, } } -func (cc *neofsClientPlant) OwnerID() *owner.ID { - return cc.ownerID +func (cp *neofsClientPlant) OwnerID() *owner.ID { + return cp.ownerID } func NewClientPlant(ctx context.Context, pool connections.Pool, creds Credentials) (ClientPlant, error) {