forked from TrueCloudLab/frostfs-http-gw
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:
parent
4e4f873786
commit
d9f9a03625
1 changed files with 5 additions and 5 deletions
|
@ -75,15 +75,15 @@ func (cp *neofsClientPlant) ConnectionArtifacts() (client.Client, *token.Session
|
||||||
return cp.pool.ConnectionArtifacts()
|
return cp.pool.ConnectionArtifacts()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cc *neofsClientPlant) Object() ObjectClient {
|
func (cp *neofsClientPlant) Object() ObjectClient {
|
||||||
return &neofsObjectClient{
|
return &neofsObjectClient{
|
||||||
key: cc.key,
|
key: cp.key,
|
||||||
pool: cc.pool,
|
pool: cp.pool,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cc *neofsClientPlant) OwnerID() *owner.ID {
|
func (cp *neofsClientPlant) OwnerID() *owner.ID {
|
||||||
return cc.ownerID
|
return cp.ownerID
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewClientPlant(ctx context.Context, pool connections.Pool, creds Credentials) (ClientPlant, error) {
|
func NewClientPlant(ctx context.Context, pool connections.Pool, creds Credentials) (ClientPlant, error) {
|
||||||
|
|
Loading…
Reference in a new issue