Skip to content

Commit 7594f4c

Browse files
committed
docs: add TODO for potential shared utility in manager class for integration library expansion
1 parent cdd4b93 commit 7594f4c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

integrations/nrpq/pq.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func scanForPostgresOpen(body *dst.BlockStmt) pqOpenScan {
6464
// and replaces it with the New Relic nrpq driver wrapper.
6565
//
6666
// _ "github.com/lib/pq" -> _ "github.com/newrelic/go-agent/v3/integrations/nrpq"
67+
// TO-DO: In the future, we may want to make this a shared utility in the manager class as we expand our integration library
6768
func swapLibpqImportInPackage(manager *parser.InstrumentationManager) {
6869
pkg := manager.GetDecoratorPackage()
6970
if pkg == nil {

0 commit comments

Comments
 (0)