Skip to content

Commit

Permalink
r/aws_finspace_kx_dataview: linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Dec 14, 2023
1 parent 95a4157 commit ce68ad0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/service/finspace/kx_dataview.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
// @SDKResource("aws_finspace_kx_dataview", name="Kx Dataview")
// @Tags(identifierAttribute="arn")
func ResourceKxDataview() *schema.Resource {

return &schema.Resource{
CreateWithoutTimeout: resourceKxDataviewCreate,
ReadWithoutTimeout: resourceKxDataviewRead,
Expand Down Expand Up @@ -235,7 +234,7 @@ func resourceKxDataviewUpdate(ctx context.Context, d *schema.ResourceData, meta
ClientToken: aws.String(id.UniqueId()),
}

if v, ok := d.GetOk("changeset_id"); ok && d.HasChange("changeset_id") && d.Get("auto_update").(bool) != true {
if v, ok := d.GetOk("changeset_id"); ok && d.HasChange("changeset_id") && !d.Get("auto_update").(bool) {
in.ChangesetId = aws.String(v.(string))
}

Expand Down Expand Up @@ -300,7 +299,6 @@ func FindKxDataviewById(ctx context.Context, conn *finspace.Client, id string) (
LastError: err,
LastRequest: in,
}

}
return nil, err
}
Expand Down

0 comments on commit ce68ad0

Please sign in to comment.