frostfs-node/pkg
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
..
ape [#1117] ape: Introduce FormFrostfsIDRequestProperties method 2024-05-07 10:01:21 +00:00
core [#1125] objectSvc: Add EC header APE check 2024-05-08 16:25:55 +03:00
innerring [#1100] Remove unused fields 2024-05-06 10:14:36 +03:00
local_object_storage [#1130] fstree: Remove useless Stat() call 2024-05-14 16:05:45 +03:00
metrics [#1116] node: Fix writecache metrics 2024-05-02 20:03:33 +03:00
morph [#1108] ape: Update policy-engine version for listing by iteration 2024-05-14 12:17:56 +03:00
network [#1103] node: Implement Get\Head requests for EC object 2024-04-24 18:15:53 +03:00
services [#1083] objsvc/v2: Properly check response status after forwarding 2024-05-15 12:04:06 +03:00
tracing [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
util [#1128] util/test: Remove unused package 2024-05-14 12:48:13 +00:00