forked from TrueCloudLab/frostfs-node
[#1310] object: Remove irrelevant comments
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
|
||||
nm, err := netmap.GetLatestNetworkMap(prm.Config.NetmapSource)
|
||||
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)
|
||||
}
|
||||
|
||||
|
@ -128,7 +127,6 @@ func preparePrm(prm *objectwriter.Params) error {
|
|||
// get container to store the object
|
||||
cnrInfo, err := prm.Config.ContainerSource.Get(idCnr)
|
||||
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue