[#1310] object: Remove irrelevant comments #1354

Merged
acid-ant merged 1 commit from aarifullin/frostfs-node:fix/target_put into master 2024-09-05 13:51:20 +00:00
Showing only changes of commit 273980cfb9 - Show all commits

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