diff --git a/common/elasticsearch/client/v6/client.go b/common/elasticsearch/client/v6/client.go index 1c85ee3c244..1d9d50e1e62 100644 --- a/common/elasticsearch/client/v6/client.go +++ b/common/elasticsearch/client/v6/client.go @@ -28,6 +28,7 @@ import ( "time" "github.com/olivere/elastic" + "github.com/uber/cadence/common/config" "github.com/uber/cadence/common/elasticsearch/client" "github.com/uber/cadence/common/log" diff --git a/common/elasticsearch/client/v7/client.go b/common/elasticsearch/client/v7/client.go index da8c587e6b9..d3a24c51a64 100644 --- a/common/elasticsearch/client/v7/client.go +++ b/common/elasticsearch/client/v7/client.go @@ -27,6 +27,7 @@ import ( "time" "github.com/olivere/elastic/v7" + "github.com/uber/cadence/common/config" "github.com/uber/cadence/common/elasticsearch/client" "github.com/uber/cadence/common/log"