diff --git a/go.mod b/go.mod index 707e84c6..cf58c69f 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0 github.com/IBM/pgxpoolprometheus v1.1.1 - github.com/Unleash/unleash-client-go/v3 v3.9.2 + github.com/Unleash/unleash-client-go/v4 v4.1.0 github.com/archdx/zerolog-sentry v1.8.2 github.com/aws/aws-sdk-go-v2 v1.25.3 github.com/aws/aws-sdk-go-v2/config v1.27.7 diff --git a/go.sum b/go.sum index 40e64030..80dd5059 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYr github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= -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/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= diff --git a/internal/config/ctx.go b/internal/config/ctx.go index 577632af..c92f891a 100644 --- a/internal/config/ctx.go +++ b/internal/config/ctx.go @@ -3,7 +3,7 @@ package config import ( "context" - ucontext "github.com/Unleash/unleash-client-go/v3/context" + ucontext "github.com/Unleash/unleash-client-go/v4/context" ) type contextKeyId int diff --git a/internal/config/flags.go b/internal/config/flags.go index daccb229..12f3034a 100644 --- a/internal/config/flags.go +++ b/internal/config/flags.go @@ -6,7 +6,7 @@ import ( "net/http" "github.com/RHEnVision/provisioning-backend/internal/version" - "github.com/Unleash/unleash-client-go/v3" + "github.com/Unleash/unleash-client-go/v4" "github.com/rs/zerolog" ) diff --git a/internal/config/flags_listener.go b/internal/config/flags_listener.go index f653fb48..19cb28a2 100644 --- a/internal/config/flags_listener.go +++ b/internal/config/flags_listener.go @@ -1,7 +1,7 @@ package config import ( - "github.com/Unleash/unleash-client-go/v3" + "github.com/Unleash/unleash-client-go/v4" "github.com/rs/zerolog" ) diff --git a/internal/middleware/account.go b/internal/middleware/account.go index 71f93284..50aa7eb6 100644 --- a/internal/middleware/account.go +++ b/internal/middleware/account.go @@ -10,7 +10,7 @@ import ( "github.com/RHEnVision/provisioning-backend/internal/identity" "github.com/RHEnVision/provisioning-backend/internal/models" "github.com/RHEnVision/provisioning-backend/internal/version" - ucontext "github.com/Unleash/unleash-client-go/v3/context" + ucontext "github.com/Unleash/unleash-client-go/v4/context" "github.com/rs/zerolog/log" )