Skip to content

Commit

Permalink
fix(key transaction): update key transaction not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrawal-newrelic committed Oct 9, 2024
1 parent 67da57e commit d2a41df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newrelic/data_source_newrelic_key_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func dataSourceNewRelicKeyTransactionRead(ctx context.Context, d *schema.Resourc
}

if transaction == nil || len(transaction.Results.Entities) == 0 {
return diag.FromErr(fmt.Errorf("the name '%s' does not match any New Relic key transaction", name))
return diag.FromErr(fmt.Errorf("no key transaction that matches the specified parameters is found in New Relic"))
}

flattenKeyTransaction(transaction, d)
Expand Down

0 comments on commit d2a41df

Please sign in to comment.