Skip to content

Commit

Permalink
Merge pull request #42 from geobeau/main
Browse files Browse the repository at this point in the history
bump to aerospike client v7
  • Loading branch information
damsallem authored Jan 3, 2025
2 parents 15bcd73 + f2adbb1 commit 7efd3e3
Show file tree
Hide file tree
Showing 926 changed files with 125,469 additions and 23,108 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
Expand Down
27 changes: 14 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module github.com/criteo/blackbox-prober

go 1.17
go 1.22

require (
github.com/aerospike/aerospike-client-go v4.5.2+incompatible
github.com/aerospike/aerospike-client-go/v5 v5.9.0
github.com/aerospike/aerospike-client-go/v7 v7.8.0
github.com/go-kit/log v0.2.1
github.com/hashicorp/consul/api v1.13.0
github.com/pkg/errors v0.9.1
Expand All @@ -19,10 +18,10 @@ require (
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/armon/go-metrics v0.4.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.2.1 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand All @@ -38,12 +37,14 @@ require (
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/yuin/gopher-lua v0.0.0-20220504180219-658193537a64 // indirect
golang.org/x/net v0.0.0-20220706163947-c90051bbdb60 // indirect
golang.org/x/oauth2 v0.0.0-20220630143837-2104d58473e0 // indirect
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d // indirect
google.golang.org/grpc v1.63.3 // indirect
google.golang.org/protobuf v1.34.2 // indirect
)
352 changes: 50 additions & 302 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/aerospike/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"time"

as "github.com/aerospike/aerospike-client-go/v5"
as "github.com/aerospike/aerospike-client-go/v7"
"github.com/criteo/blackbox-prober/pkg/topology"
"github.com/criteo/blackbox-prober/pkg/utils"
"github.com/go-kit/log/level"
Expand Down
4 changes: 2 additions & 2 deletions pkg/aerospike/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package aerospike
import (
"time"

asl "github.com/aerospike/aerospike-client-go/logger"
as "github.com/aerospike/aerospike-client-go/v5"
as "github.com/aerospike/aerospike-client-go/v7"
asl "github.com/aerospike/aerospike-client-go/v7/logger"
"github.com/criteo/blackbox-prober/pkg/discovery"
"github.com/criteo/blackbox-prober/pkg/scheduler"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/aerospike/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

as "github.com/aerospike/aerospike-client-go/v5"
as "github.com/aerospike/aerospike-client-go/v7"
"github.com/criteo/blackbox-prober/pkg/discovery"
"github.com/criteo/blackbox-prober/pkg/topology"
"github.com/criteo/blackbox-prober/pkg/utils"
Expand Down
2 changes: 1 addition & 1 deletion pkg/aerospike/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"

as "github.com/aerospike/aerospike-client-go/v5"
as "github.com/aerospike/aerospike-client-go/v7"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion probes/aerospike/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/criteo/blackbox-prober/pkg/discovery"
"github.com/criteo/blackbox-prober/pkg/scheduler"

asl "github.com/aerospike/aerospike-client-go/logger"
asl "github.com/aerospike/aerospike-client-go/v7/logger"
"github.com/criteo/blackbox-prober/pkg/topology"
"github.com/pkg/errors"
"github.com/prometheus/common/promlog"
Expand Down
Loading

0 comments on commit 7efd3e3

Please sign in to comment.