Skip to content

Commit

Permalink
updated db initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
kapv89 committed Nov 23, 2022
1 parent fc843bc commit 9a440a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion go/samples/http/mysqldb/mysql_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
func ConnectMySQL(connection string) *sql.DB {
db, err := gosql.Open("mysql", connection, core.CommenterOptions{
Config: core.CommenterConfig{EnableDBDriver: true, EnableRoute: true, EnableAction: true, EnableFramework: true, EnableTraceparent: true, EnableApplication: true},
Tags: core.StaticTags{},
})
if err != nil {
log.Fatalf("Failed to connect to MySQL(%q), error: %v", connection, err)
Expand Down
1 change: 0 additions & 1 deletion go/samples/http/pgdb/pg_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
func ConnectPG(connection string) *sql.DB {
db, err := gosql.Open("postgres", connection, core.CommenterOptions{
Config: core.CommenterConfig{EnableDBDriver: true, EnableRoute: true, EnableAction: true, EnableFramework: true, EnableTraceparent: true, EnableApplication: true},
Tags: core.StaticTags{},
})
if err != nil {
log.Fatalf("Failed to connect to PG(%q), error: %v", connection, err)
Expand Down

0 comments on commit 9a440a1

Please sign in to comment.