Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: redis instrumentation startup stream check open-telemetry#666 (o…
…pen-telemetry#818) * fix hasOwnProperty check * Revert "fix hasOwnProperty check" This reverts commit 671021cb6e9732ef14ef50f69feabaa3d49d61a4. * fix(opentelemetry/instrumentation-redis) hasOwnProperty check fixes duplicate call check in my project this code was called a second time based on importing. However in the case it was called again the check would fail. By switching to hasOwnProperty it fixes this issue. * adding tests and changing stream check to not crash * fix(opentelemetry/instrumentation-redis) changing has stream check This reverts commit 5a04acc4b9ce47713c0fc5eec18cdd5ad52ab70d. * style: fix lint Co-authored-by: Jonathan Campos <[email protected]>
- Loading branch information