Skip to content

Commit d1ef6a8

Browse files
committed
acl fix to sdk-v2
1 parent ae7c476 commit d1ef6a8

File tree

4 files changed

+1872
-1691
lines changed

4 files changed

+1872
-1691
lines changed

internal/services/object/bucket_acl_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ func TestAccObjectBucketACL_WithBucketName(t *testing.T) {
251251
252252
}
253253
`, testBucketName, objectTestsMainRegion),
254-
ExpectError: regexp.MustCompile("error putting Object Storage ACL: NoSuchBucket: The specified bucket does not exist"),
254+
ExpectError: regexp.MustCompile("api error NoSuchBucket: The specified bucket does not exist"),
255255
},
256256
{
257257
Config: fmt.Sprintf(`
258258
resource "scaleway_object_bucket" "main" {
259259
name = "%s"
260260
region = "%s"
261261
}
262-
262+
263263
resource "scaleway_object_bucket_acl" "main" {
264264
bucket = scaleway_object_bucket.main.name
265265
acl = "public-read"

0 commit comments

Comments
 (0)