Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Oct 10, 2023
1 parent 8820d3c commit 9512b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/app_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (d *AppDataSource) Read(ctx context.Context, req datasource.ReadRequest, re

if !data.Name.IsNull() {
for _, app := range apps {
if strings.ToLower(app.Name) == strings.ToLower(data.Name.ValueString()) {
if strings.EqualFold(app.Name, data.Name.ValueString()) {
data.Id = types.StringValue(app.ID)
break
}
Expand Down

0 comments on commit 9512b5f

Please sign in to comment.