forked from TrueCloudLab/frostfs-s3-gw
[#556] Check bucket name not only during creation
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
b1775f9478
commit
9875307c9b
4 changed files with 25 additions and 8 deletions
|
@ -276,6 +276,7 @@ func TestPutBucketLockConfigurationHandler(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
name: "bkt not found",
|
||||
bucket: "not-found-bucket",
|
||||
expectedError: apierr.GetAPIError(apierr.ErrNoSuchBucket),
|
||||
},
|
||||
{
|
||||
|
@ -365,6 +366,7 @@ func TestGetBucketLockConfigurationHandler(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
name: "bkt not found",
|
||||
bucket: "not-found-bucket",
|
||||
expectedError: apierr.GetAPIError(apierr.ErrNoSuchBucket),
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue