frostfs-node/pkg/services
Evgenii Stratonikov 300654b045 [#1083] objsvc/v2: Properly check response status after forwarding
Previously we had cryptic error:
```
debug   get/remote.go:38        remote call failed      {"component": "Object.Get service", "request": "HEAD", "address": "9sTxoVrhJ7WBtXQfK2NJ7zDV5yCF7BPLKK1XTxYPdGsP/BbHV4KZZ8y2BPqAT5kyjdHRLkfbtY2xf5uYoMVqxACn1", "raw": false, "local": false, "with session": false, "with bearer": false, "error": "unexpected header type <nil>"}
```
Now we have and expected error:
```
debug   get/remote.go:38        remote call failed      {"component": "Object.Get service", "request": "HEAD", "address": "D2rqaMG4D2VHdv3HKky8UYSYmwQFH2v9oXXqtyRZPTMy/BbHV4KZZ8y2BPqAT5kyjdHRLkfbtY2xf5uYoMVqxACn1", "raw": false, "local": false, "with session": false, "with bearer": false, "error": "status: code = 2049 message = object not found"}
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-05-15 12:04:06 +03:00
..
accounting [#533] services: Assume API supports status codes 2023-07-31 15:35:15 +00:00
container [#1124] cli: Improve APE rule parsing 2024-05-14 12:23:26 +03:00
control [#1089] control: Add USER and GROUP targets for local override storage 2024-04-16 11:03:50 +00:00
netmap [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
notificator [#973] node: Resolve revive: unused-parameter linter 2024-03-11 17:11:49 +03:00
object [#1083] objsvc/v2: Properly check response status after forwarding 2024-05-15 12:04:06 +03:00
object_manager [#1064] putsvc: Add EC put 2024-04-09 07:08:53 +00:00
policer [#1100] Remove unused fields 2024-05-06 10:14:36 +03:00
replicator [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
session [#821] node: Pass user.ID by value 2023-11-23 10:21:07 +03:00
tree [#1117] ape: Introduce FormFrostfsIDRequestProperties method 2024-05-07 10:01:21 +00:00
util [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00