Skip to content

Commit

Permalink
Import fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Mar 2, 2020
1 parent b687095 commit 0227238
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion libbeat/processors/actions/copy_fields_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package actions
import (
"testing"

"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/v7/libbeat/logp"

"github.com/stretchr/testify/assert"

Expand Down
2 changes: 1 addition & 1 deletion libbeat/processors/actions/rename_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"reflect"
"testing"

"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/v7/libbeat/logp"

"github.com/stretchr/testify/assert"

Expand Down
2 changes: 1 addition & 1 deletion libbeat/processors/actions/truncate_fields_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package actions
import (
"testing"

"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/v7/libbeat/logp"

"github.com/stretchr/testify/assert"

Expand Down
6 changes: 3 additions & 3 deletions metricbeat/module/iis/application_pool/application_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ package application_pool
import (
"github.com/pkg/errors"

"github.com/elastic/beats/libbeat/common/cfgwarn"
"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/metricbeat/mb"
"github.com/elastic/beats/v7/libbeat/common/cfgwarn"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/beats/v7/metricbeat/mb"
)

// init registers the MetricSet with the central registry as soon as the program
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"testing"
"time"

mbtest "github.com/elastic/beats/metricbeat/mb/testing"
mbtest "github.com/elastic/beats/v7/metricbeat/mb/testing"
)

func TestMetricsetNoErrors(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions metricbeat/module/iis/application_pool/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (

"github.com/pkg/errors"

"github.com/elastic/beats/libbeat/common"
"github.com/elastic/beats/libbeat/logp"
"github.com/elastic/beats/metricbeat/helper/windows/pdh"
"github.com/elastic/beats/metricbeat/mb"
"github.com/elastic/beats/v7/libbeat/common"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/beats/v7/metricbeat/helper/windows/pdh"
"github.com/elastic/beats/v7/metricbeat/mb"
)

// Reader strucr will contain the pdh query and config options
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/iis/application_pool/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/elastic/beats/metricbeat/helper/windows/pdh"
"github.com/elastic/beats/v7/metricbeat/helper/windows/pdh"
)

// TestNewReaderValid should successfully instantiate the reader.
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/iis/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions metricbeat/module/iis/webserver/webserver_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (

"github.com/stretchr/testify/assert"

mbtest "github.com/elastic/beats/metricbeat/mb/testing"
mbtest "github.com/elastic/beats/v7/metricbeat/mb/testing"

// Register input module and metricset
_ "github.com/elastic/beats/metricbeat/module/windows"
_ "github.com/elastic/beats/metricbeat/module/windows/perfmon"
_ "github.com/elastic/beats/v7/metricbeat/module/windows"
_ "github.com/elastic/beats/v7/metricbeat/module/windows/perfmon"
)

func TestData(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/iis/webserver/webserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package webserver
import (
"os"

"github.com/elastic/beats/metricbeat/mb"
"github.com/elastic/beats/v7/metricbeat/mb"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions metricbeat/module/iis/website/website_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (

"github.com/stretchr/testify/assert"

mbtest "github.com/elastic/beats/metricbeat/mb/testing"
mbtest "github.com/elastic/beats/v7/metricbeat/mb/testing"

// Register input module and metricset
_ "github.com/elastic/beats/metricbeat/module/windows"
_ "github.com/elastic/beats/metricbeat/module/windows/perfmon"
_ "github.com/elastic/beats/v7/metricbeat/module/windows"
_ "github.com/elastic/beats/v7/metricbeat/module/windows/perfmon"
)

func TestData(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/iis/website/website_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package website
import (
"os"

"github.com/elastic/beats/metricbeat/mb"
"github.com/elastic/beats/v7/metricbeat/mb"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/windows/perfmon/perfmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package perfmon
import (
"strings"

"github.com/elastic/beats/metricbeat/mb/parse"
"github.com/elastic/beats/v7/metricbeat/mb/parse"

"github.com/pkg/errors"

Expand Down

0 comments on commit 0227238

Please sign in to comment.