From e9b3f8be160d058fe36b713122f5248d6384c24f Mon Sep 17 00:00:00 2001 From: Nidesh Chitrakar Date: Mon, 18 Sep 2023 16:50:32 +0545 Subject: [PATCH] deps: update synse-client-go to v1.1.0 and go v1.21 --- go.mod | 5 +++-- go.sum | 7 +++++++ internal/test/grpc.go | 2 +- pkg/config/config.go | 2 +- pkg/utils/doc_test.go | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index c321d2e..f2ec3bd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vapor-ware/synse-cli -go 1.19 +go 1.21 require ( bou.ke/monkey v1.0.2 @@ -14,7 +14,7 @@ require ( github.com/spf13/cobra v1.5.0 github.com/spf13/viper v1.12.0 github.com/stretchr/testify v1.7.2 - github.com/vapor-ware/synse-client-go v0.0.0-20200327150857-a8726f53089e + github.com/vapor-ware/synse-client-go v1.1.0 github.com/vapor-ware/synse-server-grpc v0.0.2-0.20210119154353-cd9e4e05bb31 golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 google.golang.org/grpc v1.46.2 @@ -25,6 +25,7 @@ require ( github.com/creasty/defaults v1.6.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.5.4 // indirect + github.com/go-resty/resty/v2 v2.7.0 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/gorilla/websocket v1.5.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect diff --git a/go.sum b/go.sum index 86c192a..f45dd3b 100644 --- a/go.sum +++ b/go.sum @@ -77,6 +77,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-resty/resty/v2 v2.7.0 h1:me+K9p3uhSmXtrBZ4k9jcEAfJmuC8IivWHwaLZwPrFY= +github.com/go-resty/resty/v2 v2.7.0/go.mod h1:9PWDzw47qPphMRFfhsyk0NnSgvluHcljSMVIq3w7q0I= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -211,6 +213,8 @@ github.com/subosito/gotenv v1.3.0 h1:mjC+YW8QpAdXibNi+vNWgzmgBH4+5l5dCXv8cNysBLI github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= github.com/vapor-ware/synse-client-go v0.0.0-20200327150857-a8726f53089e h1:odhrv3eNaXPu2bEPKK/9kQDmiVXGQTCXetLjlOLW3tU= github.com/vapor-ware/synse-client-go v0.0.0-20200327150857-a8726f53089e/go.mod h1:aCTBPYi3NRdSSCEbiIshrHp76JnmqR0vdqn0JIw63I8= +github.com/vapor-ware/synse-client-go v1.1.0 h1:zC9kte2jVYTOdBBbK3SbrexjespEOyKl2dC1wYwdfLY= +github.com/vapor-ware/synse-client-go v1.1.0/go.mod h1:l8aACvg5yZjfKCLSx9nUPJRXPCicjp10dQ7EE80Iv0E= github.com/vapor-ware/synse-server-grpc v0.0.2-0.20210119154353-cd9e4e05bb31 h1:frnpaZ5Ys3NjhcWydKow9NCI093bR59y9GExF4qzR2E= github.com/vapor-ware/synse-server-grpc v0.0.2-0.20210119154353-cd9e4e05bb31/go.mod h1:66oRQ1KV/ZevAiiXbSUjRbx/h91xG/ArE/V39Jh872I= github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 h1:QldyIu/L63oPpyvQmHgvgickp1Yw510KJOqX7H24mg8= @@ -299,6 +303,7 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20211029224645-99673261e6eb/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 h1:NWy5+hlRbC7HK+PmcXVUmW1IMyFce7to56IUvhUFm7Y= golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -355,6 +360,7 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -370,6 +376,7 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/internal/test/grpc.go b/internal/test/grpc.go index 45caf92..9036344 100644 --- a/internal/test/grpc.go +++ b/internal/test/grpc.go @@ -18,11 +18,11 @@ package test import ( "context" - "google.golang.org/grpc/credentials/insecure" "io" synse "github.com/vapor-ware/synse-server-grpc/go" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/metadata" ) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3f0121a..e157dd3 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -18,11 +18,11 @@ package config import ( "fmt" - "github.com/pkg/errors" "os" "path/filepath" "github.com/mitchellh/mapstructure" + "github.com/pkg/errors" log "github.com/sirupsen/logrus" "github.com/spf13/viper" "gopkg.in/yaml.v2" diff --git a/pkg/utils/doc_test.go b/pkg/utils/doc_test.go index 723c2e0..0ecfa00 100644 --- a/pkg/utils/doc_test.go +++ b/pkg/utils/doc_test.go @@ -17,9 +17,9 @@ package utils import ( - "github.com/gookit/color" "testing" + "github.com/gookit/color" "github.com/stretchr/testify/assert" )