[#1310] object: Remove irrelevant comments

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-09-05 16:40:32 +03:00
parent 108e4e07be
commit 273980cfb9

View file

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