Skip to content

Commit

Permalink
remove unnecessary Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
s2thudry committed Jun 14, 2024
1 parent 7fb2f19 commit f0cb2e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions minio/resource_minio_ilm_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ resource "minio_ilm_tier" "remote_tier"{
}

func testAccMinioILMPolicyTransitionConfig() string {
return fmt.Sprintf(`
return `
resource "minio_ilm_policy" "rule_transition" {
bucket = "${minio_s3_bucket.my_bucket_in_a.bucket}"
rule {
Expand All @@ -334,11 +334,11 @@ resource "minio_ilm_policy" "rule_transition" {
}
}
}
`)
`
}

func testAccMinioILMPolicyTransitionDateConfig() string {
return fmt.Sprintf(`
return `
resource "minio_ilm_policy" "rule_transition" {
bucket = "${minio_s3_bucket.my_bucket_in_a.bucket}"
rule {
Expand All @@ -349,7 +349,7 @@ resource "minio_ilm_policy" "rule_transition" {
}
}
}
`)
`
}

func testAccMinioILMPolicyTransitionServiceAccount(username string) (varBlock string) {
Expand Down

0 comments on commit f0cb2e7

Please sign in to comment.