[#507] Return not implemented by default in bucket router #508
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#508
Loading…
Reference in a new issue
No description provided.
Delete branch "mbiryukova/frostfs-s3-gw:feature/public_access_block"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #507
Signed-off-by: Marina Biryukova m.biryukova@yadro.com
dbd0bc2252
toc1828e1654
New commits pushed, approval review dismissed automatically according to repository settings
[#507] Add routing for public access block operationsto [#507] Return not implemented by default in bucket router@ -229,0 +233,4 @@
_, wrErr := s3middleware.WriteErrorResponse(w, reqInfo, errors.GetAPIError(errors.ErrNotSupported))
if log := s3middleware.GetReqLog(ctx); log != nil {
It's better to log before writing response I suppose
Should we log error from
WriteErrorResponse
in such case?Oh, I see that we do the same in all other places. So just ignore my comment.
@ -123,2 +141,4 @@
LOOP:
for _, filter := range hf.filters {
if filter.noQueries && len(r.URL.Query()) > 0 {
continue LOOP
Can be just
continue
c1828e1654
to9c12888571
New commits pushed, approval review dismissed automatically according to repository settings