Skip to content

Commit

Permalink
Fix 'domainName declared but not used'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Dec 13, 2021
1 parent 10a63c9 commit 9512c35
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func resourceDomainServiceAccessPolicyRead(d *schema.ResourceData, meta interfac
func resourceDomainServiceAccessPolicyDelete(d *schema.ResourceData, meta interface{}) error {
conn := meta.(*conns.AWSClient).CloudSearchConn

domainName := d.Get("domain_name").(string)
input := &cloudsearch.UpdateServiceAccessPoliciesInput{
AccessPolicies: aws.String(""),
DomainName: aws.String(d.Id()),
Expand Down

0 comments on commit 9512c35

Please sign in to comment.