Skip to content

Commit

Permalink
build(deps): bump github.com/Unleash/unleash-client-go to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto authored and ezr-ondrej committed Mar 14, 2024
1 parent abcad8b commit a5bf949
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cmd/cleanup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

edgeunleash "github.com/redhatinsights/edge-api/unleash"

"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/migrategroups/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/redhatinsights/edge-api/pkg/db"
edgeunleash "github.com/redhatinsights/edge-api/unleash"

"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/migraterepos/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
edgeunleash "github.com/redhatinsights/edge-api/unleash"
feature "github.com/redhatinsights/edge-api/unleash/features"

"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/redhatinsights/edge-api

require (
github.com/Unleash/unleash-client-go/v3 v3.9.2
github.com/Unleash/unleash-client-go/v4 v4.1.0
github.com/aws/aws-sdk-go v1.50.22
github.com/bxcodec/faker/v3 v3.8.1
github.com/cavaliercoder/grab v2.0.0+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/Unleash/unleash-client-go/v3 v3.9.2 h1:/Jl61G/kOx+1+MqPuMnC/JvJxdsf52ZDdJvCmXoA2ck=
github.com/Unleash/unleash-client-go/v3 v3.9.2/go.mod h1:jAf7F2WWpfJbfn1n8bZ74p7hkAhijrqH4TpWoT7kWLc=
github.com/Unleash/unleash-client-go/v4 v4.1.0 h1:+9ZMa4sb176nlPfZyWYlWHeY8bA3odhGdZa2V063nZA=
github.com/Unleash/unleash-client-go/v4 v4.1.0/go.mod h1:jzGQjqMwJm2y+vaVLzq3IzZPvh5SRWco0MNIw2KK03I=
github.com/actgardner/gogen-avro/v10 v10.1.0/go.mod h1:o+ybmVjEa27AAr35FRqU98DJu1fXES56uXniYFv4yDA=
github.com/actgardner/gogen-avro/v10 v10.2.1/go.mod h1:QUhjeHPchheYmMDni/Nx7VB0RsT/ee8YIgGY/xpEQgQ=
github.com/actgardner/gogen-avro/v9 v9.1.0/go.mod h1:nyTj6wPqDJoxM3qdnjcLv+EnMDSDFqE0qDpva2QRmKc=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

"github.com/redhatinsights/edge-api/config"

"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
"github.com/getsentry/sentry-go"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
Expand Down
2 changes: 1 addition & 1 deletion pkg/routes/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
"github.com/redhatinsights/edge-api/pkg/db"
"github.com/redhatinsights/edge-api/pkg/models"
"github.com/redhatinsights/edge-api/pkg/routes/common"
Expand Down
4 changes: 2 additions & 2 deletions pkg/services/utility/groups.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package utility

import (
"github.com/Unleash/unleash-client-go/v3"
unleashContext "github.com/Unleash/unleash-client-go/v3/context"
"github.com/Unleash/unleash-client-go/v4"
unleashContext "github.com/Unleash/unleash-client-go/v4/context"
feature "github.com/redhatinsights/edge-api/unleash/features"
)

Expand Down
2 changes: 1 addition & 1 deletion unleash/edge_listener.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package unleash // nolint:gofmt,goimports,revive

import (
unleashclient "github.com/Unleash/unleash-client-go/v3"
unleashclient "github.com/Unleash/unleash-client-go/v4"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions unleash/features/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package feature
import (
"os"

"github.com/Unleash/unleash-client-go/v3"
unleashCTX "github.com/Unleash/unleash-client-go/v3/context"
"github.com/Unleash/unleash-client-go/v4"
unleashCTX "github.com/Unleash/unleash-client-go/v4/context"

"github.com/redhatinsights/edge-api/config"
)
Expand Down
2 changes: 1 addition & 1 deletion unleash/unleash_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"time"

"github.com/Unleash/unleash-client-go/v3/api"
"github.com/Unleash/unleash-client-go/v4/api"
)

// FakeUnleashServer is the server object
Expand Down

0 comments on commit a5bf949

Please sign in to comment.