From b74b0253ee5b9356d9844a8054f9c80cdacaf17d Mon Sep 17 00:00:00 2001 From: wass3rw3rk <49894298+wass3rw3rk@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:47:45 -0500 Subject: [PATCH] we don't need it --- go.mod | 2 +- queue/redis/length_test.go | 3 +-- queue/redis/pop_test.go | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index e2efa62ea..e5501ee7a 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,6 @@ require ( github.com/drone/envsubst v1.0.3 github.com/ghodss/yaml v1.0.0 github.com/gin-gonic/gin v1.10.0 - github.com/go-jose/go-jose/v4 v4.0.1 github.com/go-playground/assert/v2 v2.2.0 github.com/go-vela/types v0.24.0-rc1 github.com/golang-jwt/jwt/v5 v5.2.1 @@ -67,6 +66,7 @@ require ( github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/gabriel-vasile/mimetype v1.4.3 // indirect github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-jose/go-jose/v4 v4.0.1 // indirect github.com/go-logr/logr v1.4.1 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect diff --git a/queue/redis/length_test.go b/queue/redis/length_test.go index 2f1d9664f..cd87b1036 100644 --- a/queue/redis/length_test.go +++ b/queue/redis/length_test.go @@ -4,11 +4,10 @@ package redis import ( "context" + "encoding/json" "reflect" "testing" - "github.com/go-jose/go-jose/v4/json" - "github.com/go-vela/server/queue/models" ) diff --git a/queue/redis/pop_test.go b/queue/redis/pop_test.go index 23358004d..8afcad695 100644 --- a/queue/redis/pop_test.go +++ b/queue/redis/pop_test.go @@ -4,10 +4,10 @@ package redis import ( "context" + "encoding/json" "testing" "time" - "github.com/go-jose/go-jose/v4/json" "github.com/google/go-cmp/cmp" "golang.org/x/crypto/nacl/sign"