Remove "could not"/"can't"/"failed to" from error messages #1568

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:fix-errors into master 2024-12-18 15:52:27 +00:00
Showing only changes of commit 0bee029e55 - Show all commits

View file

@ -1504,7 +1504,7 @@ func (t *boltForest) TreeListTrees(ctx context.Context, prm TreeListTreesPrm) (*
var contID cidSDK.ID var contID cidSDK.ID
if err := contID.Decode(k[:32]); err != nil { if err := contID.Decode(k[:32]); err != nil {
return fmt.Errorf("decode containerID: %w", err) return fmt.Errorf("decode container ID: %w", err)
} }
res.Items = append(res.Items, ContainerIDTreeID{ res.Items = append(res.Items, ContainerIDTreeID{
CID: contID, CID: contID,