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
This commit is contained in:
Roman Khimov 2021-04-29 11:55:26 +03:00 committed by Roman Khimov
parent 4e4f873786
commit d9f9a03625

View file

@ -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) {