Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Feb 21, 2021
1 parent 775d03f commit 5e8d065
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/grpc.ext/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"path/filepath"
"time"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log/level"
"github.com/kolide/kit/env"
"github.com/kolide/kit/logutil"
Expand All @@ -21,6 +20,7 @@ import (
"github.com/kolide/osquery-go/plugin/distributed"
osquery_logger "github.com/kolide/osquery-go/plugin/logger"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/launcher/control_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package main
import (
"context"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/kit/actor"
"github.com/kolide/launcher/pkg/launcher"
"go.etcd.io/bbolt"
)

// createControl creates a no-op actor, as the control server isn't
Expand Down
2 changes: 1 addition & 1 deletion cmd/launcher/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"io/ioutil"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/kit/actor"
Expand All @@ -21,6 +20,7 @@ import (
"github.com/kolide/osquery-go/plugin/distributed"
osquerylogger "github.com/kolide/osquery-go/plugin/logger"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
)

// TODO: the extension, runtime, and client are all kind of entangled here. Untangle the underlying libraries and separate into units
Expand Down
2 changes: 1 addition & 1 deletion cmd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"strconv"
"time"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/kit/fs"
Expand All @@ -26,6 +25,7 @@ import (
"github.com/kolide/launcher/pkg/service"
"github.com/oklog/run"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
)

// runLauncher is the entry point into running launcher. It creates a
Expand Down
2 changes: 1 addition & 1 deletion cmd/launcher/query_target_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"context"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/kolide/kit/actor"
"github.com/kolide/launcher/pkg/querytarget"
"go.etcd.io/bbolt"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/control/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"net/http"
"net/url"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
)

type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"sync"
"time"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/google/uuid"
Expand All @@ -22,6 +21,7 @@ import (
"github.com/kolide/osquery-go/plugin/logger"
"github.com/mixer/clock"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"testing/quick"
"time"

"go.etcd.io/bbolt"
"github.com/kolide/kit/testutil"
"github.com/kolide/launcher/pkg/service"
"github.com/kolide/launcher/pkg/service/mock"
Expand All @@ -21,6 +20,7 @@ import (
"github.com/mixer/clock"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.etcd.io/bbolt"
)

func makeTempDB(t *testing.T) (db *bbolt.DB, cleanup func()) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/kolide_target_membership.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package table
import (
"context"

"go.etcd.io/bbolt"
"github.com/gogo/protobuf/proto"
"github.com/kolide/launcher/pkg/osquery"
qt "github.com/kolide/launcher/pkg/pb/querytarget"
"github.com/kolide/osquery-go/plugin/table"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
)

const TargetMembershipKey = "target_membership"
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/launcher_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package table
import (
"context"

"go.etcd.io/bbolt"
"github.com/kolide/launcher/pkg/osquery"
"github.com/kolide/osquery-go/plugin/table"
"go.etcd.io/bbolt"
)

func LauncherConfigTable(db *bbolt.DB) *table.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/launcher_identifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package table
import (
"context"

"go.etcd.io/bbolt"
"github.com/kolide/launcher/pkg/osquery"
"github.com/kolide/osquery-go/plugin/table"
"go.etcd.io/bbolt"
)

func LauncherIdentifierTable(db *bbolt.DB) *table.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion pkg/osquery/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"github.com/kolide/launcher/pkg/launcher"
"github.com/kolide/launcher/pkg/osquery/tables/dataflattentable"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
osquery "github.com/kolide/osquery-go"
"github.com/kolide/osquery-go/plugin/table"
"go.etcd.io/bbolt"
)

// LauncherTables returns launcher-specific tables
Expand Down
2 changes: 1 addition & 1 deletion pkg/querytarget/query_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import (
"context"
"time"

"go.etcd.io/bbolt"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/gogo/protobuf/proto"
"github.com/kolide/launcher/pkg/osquery"
"github.com/kolide/launcher/pkg/osquery/table"
qt "github.com/kolide/launcher/pkg/pb/querytarget"
"github.com/pkg/errors"
"go.etcd.io/bbolt"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand Down

0 comments on commit 5e8d065

Please sign in to comment.