Skip to content

Commit

Permalink
Fix golangci-lint 'unparam'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Aug 23, 2024
1 parent 2840da0 commit b989b33
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/service/elasticsearch/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,19 +514,16 @@ func resourceDomain() *schema.Resource {
Type: schema.TypeSet,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},
names.AttrSecurityGroupIDs: {
Type: schema.TypeSet,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},
names.AttrSubnetIDs: {
Type: schema.TypeSet,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},
names.AttrVPCID: {
Type: schema.TypeString,
Expand Down Expand Up @@ -1164,7 +1161,7 @@ func waitDomainCreated(ctx context.Context, conn *elasticsearch.Client, domainNa
return nil, err
}

func waitDomainConfigUpdated(ctx context.Context, conn *elasticsearch.Client, domainName string, timeout time.Duration) (*awstypes.ElasticsearchDomainStatus, error) {
func waitDomainConfigUpdated(ctx context.Context, conn *elasticsearch.Client, domainName string, timeout time.Duration) (*awstypes.ElasticsearchDomainStatus, error) { //nolint:unparam
stateConf := &retry.StateChangeConf{
Pending: enum.Slice(awstypes.DomainProcessingStatusTypeModifying),
Target: enum.Slice(awstypes.DomainProcessingStatusTypeActive),
Expand Down

0 comments on commit b989b33

Please sign in to comment.