Skip to content

Commit

Permalink
Fix master's linting issue (#26517)
Browse files Browse the repository at this point in the history
* Fix master's linting issue

Signed-off-by: chrismark <chrismarkou92@gmail.com>

* Remove empty lines

Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark authored Jun 28, 2021
1 parent a3b447a commit 48935ee
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x-pack/osquerybeat/beater/config_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"path/filepath"
"testing"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/google/go-cmp/cmp"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/beats/v7/x-pack/osquerybeat/internal/testutil"
)

Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/beater/logger_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"context"
"encoding/json"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/kolide/osquery-go/plugin/logger"

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

type SnapshotResult struct {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/osquerybeat/beater/logger_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"encoding/json"
"testing"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/google/go-cmp/cmp"
"github.com/kolide/osquery-go/plugin/logger"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/beats/v7/x-pack/osquerybeat/internal/testutil"
)

Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqd/osqueryd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ import (
"time"

"github.com/dolmen-go/contextio"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/pkg/errors"

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

const (
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqd/osqueryd_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import (

"github.com/gofrs/uuid"
)

const (
extensionName = "osquery-extension.exe"
extensionName = "osquery-extension.exe"
)

func CreateSocketPath() (string, func(), error) {
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqdcli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import (

"golang.org/x/sync/semaphore"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/kolide/osquery-go"

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

const (
Expand Down

0 comments on commit 48935ee

Please sign in to comment.