Skip to content

Commit

Permalink
fixed lint and update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexFrontegg committed Jun 27, 2024
1 parent 54bed8b commit bceae85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ linters:
- unconvert
- unparam
- unused
- vet
- govet
6 changes: 5 additions & 1 deletion provider/resource_frontegg_email_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ func resourceFronteggEmailProviderSerialize(d *schema.ResourceData) fronteggEmai
}

func resourceFronteggEmailProviderDeserialize(d *schema.ResourceData, f *fronteggEmailProviderResponse) error {
d.Set("provider_name", d.Id())

if err := d.Set("provider_name", d.Id()); err != nil {
return err
}

fields := map[string]string{
"secret": f.Secret,
"updated_at": f.UpdatedAt,
Expand Down

0 comments on commit bceae85

Please sign in to comment.