Skip to content

Commit

Permalink
review 3
Browse files Browse the repository at this point in the history
Signed-off-by: sacha-froment-ext <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Oct 5, 2020
1 parent 0825257 commit fc00f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contrib/go-redis/redis.v8/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ type datadogHook struct {
*params
}

var _ redis.Hook = (*datadogHook)(nil)

// params holds the tracer and a set of parameters which are recorded with every trace.
type params struct {
host string
Expand Down
3 changes: 3 additions & 0 deletions contrib/go-redis/redis.v8/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ import (

const debug = false

// ensure it's a redis.Hook
var _ redis.Hook = (*datadogHook)(nil)

func TestMain(m *testing.M) {
_, ok := os.LookupEnv("INTEGRATION")
if !ok {
Expand Down

0 comments on commit fc00f08

Please sign in to comment.