Skip to content

Commit

Permalink
chore: upgrade bolt to bbolt
Browse files Browse the repository at this point in the history
  • Loading branch information
docmerlin committed Mar 5, 2021
1 parent 5e1662d commit 91b7bd7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 67 deletions.
7 changes: 4 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ require (
github.com/armon/go-metrics v0.3.4 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/aws/aws-sdk-go v1.8.16
github.com/benbjohnson/tmpl v1.0.0 // indirect
github.com/blang/semver v3.5.0+incompatible // indirect
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40 // indirect
github.com/boltdb/bolt v1.3.1
github.com/cenkalti/backoff v1.0.0
github.com/coreos/go-oidc v0.0.0-20170307191026-be73733bb8cc // indirect
github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf // indirect
Expand Down Expand Up @@ -93,8 +91,11 @@ require (
github.com/stretchr/testify v1.4.0
github.com/syndtr/goleveldb v0.0.0-20170409015612-8c81ea47d4c4 // indirect
github.com/ugorji/go v0.0.0-20170312112114-708a42d24682 // indirect
go.etcd.io/bbolt v1.3.5
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
golang.org/x/oauth2 v0.0.0-20170412232759-a6bd8cefa181 // indirect
golang.org/x/tools/gopls v0.6.5 // indirect
golang.org/x/sys v0.0.0-20210305215415-5cdee2b1b5a0 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/api v0.0.0-20170421051952-fbbaff182731 // indirect
google.golang.org/appengine v1.0.0 // indirect
google.golang.org/grpc v1.2.1 // indirect
Expand Down
64 changes: 5 additions & 59 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/storage/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strconv"
"strings"

"github.com/boltdb/bolt"
client "github.com/influxdata/kapacitor/client/v1"
"github.com/influxdata/kapacitor/services/httpd"
bolt "go.etcd.io/bbolt"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion services/storage/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storage
import (
"bytes"

"github.com/boltdb/bolt"
bolt "go.etcd.io/bbolt"
)

// Bolt implementation of Store
Expand Down
2 changes: 1 addition & 1 deletion services/storage/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"path"
"sync"

"github.com/boltdb/bolt"
"github.com/influxdata/kapacitor/services/httpd"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"
)

type Diagnostic interface {
Expand Down
2 changes: 1 addition & 1 deletion services/storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"path/filepath"
"testing"

"github.com/boltdb/bolt"
"github.com/influxdata/kapacitor/services/storage"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"
)

// Error used to specifically trigger a rollback for tests.
Expand Down
2 changes: 1 addition & 1 deletion services/task_store/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"strconv"
"time"

"github.com/boltdb/bolt"
"github.com/influxdata/kapacitor"
"github.com/influxdata/kapacitor/client/v1"
"github.com/influxdata/kapacitor/keyvalue"
Expand All @@ -23,6 +22,7 @@ import (
"github.com/influxdata/kapacitor/tick/ast"
"github.com/influxdata/kapacitor/uuid"
"github.com/pkg/errors"
bolt "go.etcd.io/bbolt"
)

const (
Expand Down

0 comments on commit 91b7bd7

Please sign in to comment.