Skip to content

Commit

Permalink
linters fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GomathiselviS committed Jan 16, 2024
1 parent 0267e4e commit c24e6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/provider/job_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestParseHttpResponse(t *testing.T) {
{
name: "ignored fields",
failure: false,
body: []byte(`{"job_type": "run", "url": "/api/v2/jobs/14/", "status":
body: []byte(`{"job_type": "run", "url": "/api/v2/jobs/14/", "status":
"pending", "ignored_fields": {"extra_vars": "{\"bucket_state\":\"absent\"}"}}`),
expected: jobResourceModel{
TemplateID: templateID,
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/utils.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package provider

import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/attr"
)

func IsValueProvided(value attr.Value) bool {
return !value.IsNull() && !value.IsUnknown()
return !value.IsNull() && !value.IsUnknown()
}

0 comments on commit c24e6df

Please sign in to comment.