[#1388] putSvc: Drop unused
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 1m11s
DCO action / DCO (pull_request) Successful in 1m26s
Vulncheck / Vulncheck (pull_request) Successful in 2m10s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m23s
Build / Build Components (pull_request) Successful in 2m38s
Tests and linters / Staticcheck (pull_request) Successful in 2m38s
Tests and linters / gopls check (pull_request) Successful in 2m55s
Tests and linters / Lint (pull_request) Successful in 3m18s
Tests and linters / Tests (pull_request) Successful in 4m29s
Tests and linters / Tests with -race (pull_request) Successful in 6m7s
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 1m11s
DCO action / DCO (pull_request) Successful in 1m26s
Vulncheck / Vulncheck (pull_request) Successful in 2m10s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m23s
Build / Build Components (pull_request) Successful in 2m38s
Tests and linters / Staticcheck (pull_request) Successful in 2m38s
Tests and linters / gopls check (pull_request) Successful in 2m55s
Tests and linters / Lint (pull_request) Successful in 3m18s
Tests and linters / Tests (pull_request) Successful in 4m29s
Tests and linters / Tests with -race (pull_request) Successful in 6m7s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
b025c0eec1
commit
aa763c6bcd
1 changed files with 0 additions and 11 deletions
|
@ -2,7 +2,6 @@ package putsvc
|
|||
|
||||
import (
|
||||
"context"
|
||||
"crypto/ecdsa"
|
||||
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/core/client"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/util"
|
||||
|
@ -21,8 +20,6 @@ type PutInitPrm struct {
|
|||
traverseOpts []placement.Option
|
||||
|
||||
relay func(context.Context, client.NodeInfo, client.MultiAddressClient) error
|
||||
|
||||
privateKey *ecdsa.PrivateKey
|
||||
}
|
||||
|
||||
type PutChunkPrm struct {
|
||||
|
@ -68,11 +65,3 @@ func (p *PutChunkPrm) WithChunk(v []byte) *PutChunkPrm {
|
|||
|
||||
return p
|
||||
}
|
||||
|
||||
func (p *PutInitPrm) WithPrivateKey(v *ecdsa.PrivateKey) *PutInitPrm {
|
||||
if p != nil {
|
||||
p.privateKey = v
|
||||
}
|
||||
|
||||
return p
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue