From 014c1ecd4faa586a9484cd4e1acbed00efdc1a77 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Mon, 2 Dec 2024 18:01:41 -0300 Subject: [PATCH] pr feedback --- go.mod | 2 +- go.sum | 6 ++---- splitio/proxy/controllers/sdk.go | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e06573fc..0807c2c5 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/gin-gonic/gin v1.10.0 github.com/google/uuid v1.3.0 github.com/splitio/gincache v1.0.1 - github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202144122-6b3a0c7817bc + github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202205419-67ca9241a954 github.com/splitio/go-toolkit/v5 v5.4.0 github.com/stretchr/testify v1.9.0 go.etcd.io/bbolt v1.3.6 diff --git a/go.sum b/go.sum index 6c92d9ce..54144427 100644 --- a/go.sum +++ b/go.sum @@ -93,10 +93,8 @@ github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUA github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/splitio/gincache v1.0.1 h1:dLYdANY/BqH4KcUMCe/LluLyV5WtuE/LEdQWRE06IXU= github.com/splitio/gincache v1.0.1/go.mod h1:CcgJDSM9Af75kyBH0724v55URVwMBuSj5x1eCWIOECY= -github.com/splitio/go-split-commons/v6 v6.0.2-0.20241128203315-8c123543a54e h1:d/bRCPlzszazKemFu7UOyzJJHc+Ren43u178vd1Do5c= -github.com/splitio/go-split-commons/v6 v6.0.2-0.20241128203315-8c123543a54e/go.mod h1:D/XIY/9Hmfk9ivWsRsJVp439kEdmHbzUi3PKzQQDOXY= -github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202144122-6b3a0c7817bc h1:pud1qA/GUJxe2VS2E23wg2BjZ/5q7hSKto+wUt5ZNFA= -github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202144122-6b3a0c7817bc/go.mod h1:D/XIY/9Hmfk9ivWsRsJVp439kEdmHbzUi3PKzQQDOXY= +github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202205419-67ca9241a954 h1:vqz8xWtmCoBc6jk1ijcjTMAStrpdQDa7EjOEgBJ97ew= +github.com/splitio/go-split-commons/v6 v6.0.2-0.20241202205419-67ca9241a954/go.mod h1:D/XIY/9Hmfk9ivWsRsJVp439kEdmHbzUi3PKzQQDOXY= github.com/splitio/go-toolkit/v5 v5.4.0 h1:g5WFpRhQomnXCmvfsNOWV4s5AuUrWIZ+amM68G8NBKM= github.com/splitio/go-toolkit/v5 v5.4.0/go.mod h1:xYhUvV1gga9/1029Wbp5pjnR6Cy8nvBpjw99wAbsMko= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/splitio/proxy/controllers/sdk.go b/splitio/proxy/controllers/sdk.go index b889bfc2..87855863 100644 --- a/splitio/proxy/controllers/sdk.go +++ b/splitio/proxy/controllers/sdk.go @@ -124,7 +124,7 @@ func (c *SdkServerController) SplitChanges(ctx *gin.Context) { sParam, _ := ctx.GetQuery("s") spec, err := specs.ParseAndValidate(sParam) if err != nil { - c.logger.Error(fmt.Sprintf("error getting split changes: %s.", err)) + c.logger.Error(fmt.Sprintf("error parsing spec version: %s.", err)) ctx.JSON(http.StatusBadRequest, gin.H{"code": 400, "message": err.Error()}) return }