Skip to content

Commit

Permalink
clarified comment for txn.SetOption
Browse files Browse the repository at this point in the history
  • Loading branch information
nr-swilloughby committed Jul 29, 2022
1 parent c9d5980 commit 9157849
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v3/newrelic/transaction.go
Original file line number Diff line number Diff line change
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 9157849

Please sign in to comment.