Skip to content

Commit

Permalink
fix remaining references
Browse files Browse the repository at this point in the history
Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Nov 11, 2019
1 parent 1410cf9 commit 90ab976
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions x-pack/metricbeat/module/aws/ebs/ebs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"os"

"github.com/elastic/beats/metricbeat/mb"
xpackmb "github.com/elastic/beats/x-pack/metricbeat/mb"

// Register input module and metricset
_ "github.com/elastic/beats/x-pack/metricbeat/module/aws"
Expand All @@ -18,5 +17,5 @@ import (
func init() {
// To be moved to some kind of helper
os.Setenv("BEAT_STRICT_PERMS", "false")
mb.Registry.SetSecondarySource(xpackmb.NewLightModulesSource("../../../module"))
mb.Registry.SetSecondarySource(mb.NewLightModulesSource("../../../module"))
}
3 changes: 1 addition & 2 deletions x-pack/metricbeat/module/aws/elb/elb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"os"

"github.com/elastic/beats/metricbeat/mb"
xpackmb "github.com/elastic/beats/x-pack/metricbeat/mb"

// Register input module and metricset
_ "github.com/elastic/beats/x-pack/metricbeat/module/aws"
Expand All @@ -18,5 +17,5 @@ import (
func init() {
// To be moved to some kind of helper
os.Setenv("BEAT_STRICT_PERMS", "false")
mb.Registry.SetSecondarySource(xpackmb.NewLightModulesSource("../../../module"))
mb.Registry.SetSecondarySource(mb.NewLightModulesSource("../../../module"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
"github.com/elastic/beats/libbeat/tests/compose"
"github.com/elastic/beats/metricbeat/mb"
mbtest "github.com/elastic/beats/metricbeat/mb/testing"
xpackmb "github.com/elastic/beats/x-pack/metricbeat/mb"

// Register input module and metricset
_ "github.com/elastic/beats/metricbeat/module/prometheus"
_ "github.com/elastic/beats/metricbeat/module/prometheus/collector"
Expand All @@ -25,7 +23,7 @@ import (
func init() {
// To be moved to some kind of helper
os.Setenv("BEAT_STRICT_PERMS", "false")
mb.Registry.SetSecondarySource(xpackmb.NewLightModulesSource("../../../module"))
mb.Registry.SetSecondarySource(mb.NewLightModulesSource("../../../module"))
}

func TestFetch(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions x-pack/metricbeat/module/cockroachdb/status/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/metricbeat/mb"
mbtest "github.com/elastic/beats/metricbeat/mb/testing"
xpackmb "github.com/elastic/beats/x-pack/metricbeat/mb"

// Register input module and metricset
_ "github.com/elastic/beats/metricbeat/module/prometheus"
Expand All @@ -23,7 +22,7 @@ import (
func init() {
// To be moved to some kind of helper
os.Setenv("BEAT_STRICT_PERMS", "false")
mb.Registry.SetSecondarySource(xpackmb.NewLightModulesSource("../../../module"))
mb.Registry.SetSecondarySource(mb.NewLightModulesSource("../../../module"))
}

func TestEventMapping(t *testing.T) {
Expand Down

0 comments on commit 90ab976

Please sign in to comment.