Skip to content

Conversation

@mrveera
Copy link
Contributor

@mrveera mrveera commented Apr 16, 2020

Adds an initializing function RegisterWithSource that allows the dataSourceName to
be passed into database/sql.Open. This option is important for backends such as
goracle and godor, lest they return an initialization error.

Fixes #41

@mrveera mrveera changed the title Fix #41: Replace empty string with / Fix #41: Add another method to register with db source if needed Apr 17, 2020
Copy link
Member

@odeke-em odeke-em left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this change @veera83372 and for filling the bug.

LGTM with some minor nits. However, could you please update your commit message,
and this PR subject and message as well to the following:

initializer: add RegisterWithSource to allow pass in dataSourceName to sql.Open

Adds an initializing function RegisterWithSource that allows the dataSourceName to
be passed into database/sql.Open. This option is important for backends such as
goracle and godor, lest they return an initialization error.

Fixes #41

…o sql.Open

Adds an initializing function RegisterWithSource that allows the dataSourceName to
be passed into database/sql.Open. This option is important for backends such as
goracle and godor, lest they return an initialization error.

Fixes opencensus-integrations#41
@mrveera mrveera changed the title Fix #41: Add another method to register with db source if needed initializer: add RegisterWithSource to allow pass in dataSourceName to sql.Open May 19, 2020
Copy link
Member

@odeke-em odeke-em left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @veera83372!

@odeke-em odeke-em merged commit aa76e4b into opencensus-integrations:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No / in connection string error

2 participants