Skip to content

Commit 2a7aa7e

Browse files
committed
fix linter
1 parent f47e43b commit 2a7aa7e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

internal/verify/uuid.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package verify
22

33
import (
4-
"fmt"
54
"github.com/hashicorp/go-cty/cty"
65
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
76
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
@@ -76,8 +75,7 @@ func IsUUIDOrNameOffer() schema.SchemaValidateDiagFunc {
7675
Severity: diag.Warning,
7776
Summary: "Using a datasource for better consistency and reliability is recommended instead of directly using offer names.",
7877
AttributePath: path,
79-
Detail: fmt.Sprintf(
80-
`The offer name should be retrieved using a datasource to ensure reliable and consistent configuration.
78+
Detail: `The offer name should be retrieved using a datasource to ensure reliable and consistent configuration.
8179
8280
Example:
8381
data "scaleway_baremetal_offer" "my_offer_monthly" {
@@ -87,9 +85,9 @@ data "scaleway_baremetal_offer" "my_offer_monthly" {
8785
}
8886
8987
Then, you can reference the datasource's attributes in your resources.`,
90-
),
9188
}}
9289
}
90+
9391
return nil
9492
}
9593
}

0 commit comments

Comments
 (0)