Skip to content

Commit

Permalink
Merge pull request #543 from nr-swilloughby/clm-update
Browse files Browse the repository at this point in the history
clarified comment for txn.SetOption
  • Loading branch information
iamemilio committed Aug 1, 2022
2 parents eaaf111 + 9157849 commit dbbf46a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v3/newrelic/transaction.go
Expand Up @@ -48,6 +48,9 @@ func (txn *Transaction) End() {
// after the transaction has already been started, such as specifying a new
// source code location for code-level metrics.
//
// The set of options should be the complete set you wish to have in effect,
// just as if you were calling StartTransaction now with the same set of options.
//
func (txn *Transaction) SetOption(options ...TraceOption) {
if txn == nil || txn.thread == nil || txn.thread.txn == nil {
return
Expand Down

0 comments on commit dbbf46a

Please sign in to comment.