Skip to content

Commit 16a6202

Browse files
committed
chore: linting fix
1 parent 623b072 commit 16a6202

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

castai/utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ func getDefaultOrganizationId(ctx context.Context, meta any) (string, error) {
160160

161161
// checkFloatAttr is a helper function for Terraform acceptance tests to check float attributes with a precision of 3
162162
// decimal places. The attributes map is a map[string]string, so floats in there may be affected by the rounding errors.
163+
//
164+
//nolint:unused
163165
func checkFloatAttr(resource, path string, val float64) func(state *terraform.State) error {
164166
return func(state *terraform.State) error {
165167
res, ok := state.RootModule().Resources[resource]

0 commit comments

Comments
 (0)