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>
(cherry picked from commit 48935ee)
  • Loading branch information
ChrsMark authored and mergify-bot committed Jun 28, 2021
1 parent 284307e commit beea71c
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 beea71c

Please sign in to comment.