[#382] Fix request type determination #382
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#382
Loading…
Reference in a new issue
No description provided.
Delete branch "mbiryukova/frostfs-s3-gw:bugfix/determine_req_type"
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?
Signed-off-by: Marina Biryukova m.biryukova@yadro.com
2a6a6d45c5
to3816770d54
[#xxx] Fix request type determinationto [#382] Fix request type determination3816770d54
tobbd61a7f6c
@ -0,0 +47,4 @@
reqType, bktName, objName = getBucketObject(r, []string{"some-domain", domain})
require.Equal(t, objectType, reqType)
require.Equal(t, bkt, bktName)
require.Equal(t, obj, objName)
Probably, it would be convenient to use table tests. But it's up to you
bbd61a7f6c
toa92c88ec36
a92c88ec36
toc43ef040dc