[#1310] object: Remove irrelevant comments
Some checks failed
DCO action / DCO (pull_request) Successful in 51s
Vulncheck / Vulncheck (pull_request) Successful in 1m49s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m9s
Build / Build Components (pull_request) Successful in 2m23s
Tests and linters / Run gofumpt (pull_request) Successful in 2m15s
Tests and linters / gopls check (pull_request) Successful in 2m37s
Tests and linters / Staticcheck (pull_request) Successful in 3m6s
Tests and linters / Lint (pull_request) Successful in 3m45s
Tests and linters / Tests with -race (pull_request) Failing after 4m37s
Tests and linters / Tests (pull_request) Failing after 2m3s
Some checks failed
DCO action / DCO (pull_request) Successful in 51s
Vulncheck / Vulncheck (pull_request) Successful in 1m49s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m9s
Build / Build Components (pull_request) Successful in 2m23s
Tests and linters / Run gofumpt (pull_request) Successful in 2m15s
Tests and linters / gopls check (pull_request) Successful in 2m37s
Tests and linters / Staticcheck (pull_request) Successful in 3m6s
Tests and linters / Lint (pull_request) Successful in 3m45s
Tests and linters / Tests with -race (pull_request) Failing after 4m37s
Tests and linters / Tests (pull_request) Failing after 2m3s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
108e4e07be
commit
273980cfb9
1 changed files with 0 additions and 2 deletions
|
@ -116,7 +116,6 @@ func preparePrm(prm *objectwriter.Params) error {
|
||||||
// get latest network map
|
// get latest network map
|
||||||
nm, err := netmap.GetLatestNetworkMap(prm.Config.NetmapSource)
|
nm, err := netmap.GetLatestNetworkMap(prm.Config.NetmapSource)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
//return fmt.Errorf("(%T) could not get latest network map: %w", p, err)
|
|
||||||
return fmt.Errorf("could not get latest network map: %w", err)
|
return fmt.Errorf("could not get latest network map: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +127,6 @@ func preparePrm(prm *objectwriter.Params) error {
|
||||||
// get container to store the object
|
// get container to store the object
|
||||||
cnrInfo, err := prm.Config.ContainerSource.Get(idCnr)
|
cnrInfo, err := prm.Config.ContainerSource.Get(idCnr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
//return fmt.Errorf("(%T) could not get container by ID: %w", p, err)
|
|
||||||
return fmt.Errorf("could not get container by ID: %w", err)
|
return fmt.Errorf("could not get container by ID: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue