Skip to content

Commit 2b53834

Browse files
committed
[Dependencies] Bump go version to 1.23.8
1 parent 42ff487 commit 2b53834

File tree

7 files changed

+127
-215
lines changed

7 files changed

+127
-215
lines changed

.golangci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,19 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
#
15+
version: 2
16+
1517
linters:
16-
disable-all: true
1718
enable:
18-
- deadcode
19+
- unused
1920
- goconst
20-
- gofmt
21-
- revive
22-
- gosimple
2321
- ineffassign
2422
- misspell
2523
- staticcheck
2624
- unconvert
27-
- varcheck
28-
- vet
29-
- vetshadow
3025
- errcheck
3126
- govet
32-
- structcheck
33-
- typecheck
3427
- gocritic
35-
- gci
3628

3729
run:
3830

cmd/autoscaler/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
#
1515

16-
FROM gcr.io/iguazio/golang:1.21-alpine3.18 AS builder
16+
FROM gcr.io/iguazio/golang:1.23.8-alpine AS builder
1717

1818
RUN apk --update --no-cache add \
1919
git \

cmd/dlx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
#
1515

16-
FROM gcr.io/iguazio/golang:1.21-alpine3.18 AS builder
16+
FROM gcr.io/iguazio/golang:1.23.8-alpine AS builder
1717

1818
RUN apk --update --no-cache add \
1919
git \

cmd/dlx/app/dlx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929

3030
"github.com/nuclio/errors"
3131
"github.com/nuclio/logger"
32-
"github.com/nuclio/zap"
32+
nucliozap "github.com/nuclio/zap"
3333
"github.com/v3io/scaler/pkg/dlx"
3434
"github.com/v3io/scaler/pkg/scalertypes"
3535
"k8s.io/client-go/kubernetes"

go.mod

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,55 @@
11
module github.com/v3io/app-resource-scaler
22

3-
go 1.21
3+
go 1.23.8
44

55
require (
66
github.com/nuclio/errors v0.0.4
77
github.com/nuclio/logger v0.0.1
8-
github.com/nuclio/zap v0.2.0
9-
github.com/v3io/scaler v0.7.0
10-
k8s.io/apimachinery v0.26.15
11-
k8s.io/client-go v0.26.15
12-
k8s.io/metrics v0.26.15
8+
github.com/nuclio/zap v0.3.1
9+
github.com/v3io/scaler v0.9.0
10+
k8s.io/apimachinery v0.29.8
11+
k8s.io/client-go v0.29.8
12+
k8s.io/metrics v0.29.8
1313
)
1414

1515
require (
1616
github.com/davecgh/go-spew v1.1.1 // indirect
17-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
18-
github.com/go-logr/logr v1.2.3 // indirect
19-
github.com/go-openapi/jsonpointer v0.19.5 // indirect
20-
github.com/go-openapi/jsonreference v0.20.0 // indirect
21-
github.com/go-openapi/swag v0.19.14 // indirect
17+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
18+
github.com/go-logr/logr v1.4.3 // indirect
19+
github.com/go-openapi/jsonpointer v0.21.1 // indirect
20+
github.com/go-openapi/jsonreference v0.21.0 // indirect
21+
github.com/go-openapi/swag v0.23.1 // indirect
2222
github.com/gogo/protobuf v1.3.2 // indirect
2323
github.com/golang/protobuf v1.5.4 // indirect
24-
github.com/google/gnostic v0.5.7-v3refs // indirect
25-
github.com/google/go-cmp v0.5.9 // indirect
26-
github.com/google/gofuzz v1.1.0 // indirect
24+
github.com/google/gnostic-models v0.6.9 // indirect
25+
github.com/google/gofuzz v1.2.0 // indirect
26+
github.com/google/uuid v1.6.0 // indirect
2727
github.com/imdario/mergo v0.3.7 // indirect
2828
github.com/josharian/intern v1.0.0 // indirect
2929
github.com/json-iterator/go v1.1.12 // indirect
3030
github.com/logrusorgru/aurora/v4 v4.0.0 // indirect
31-
github.com/mailru/easyjson v0.7.6 // indirect
31+
github.com/mailru/easyjson v0.9.0 // indirect
3232
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3333
github.com/modern-go/reflect2 v1.0.2 // indirect
3434
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
35-
github.com/rogpeppe/go-internal v1.11.0 // indirect
36-
github.com/spf13/pflag v1.0.5 // indirect
35+
github.com/spf13/pflag v1.0.6 // indirect
3736
go.uber.org/multierr v1.11.0 // indirect
38-
go.uber.org/zap v1.25.0 // indirect
39-
golang.org/x/net v0.17.0 // indirect
40-
golang.org/x/oauth2 v0.7.0 // indirect
41-
golang.org/x/sys v0.13.0 // indirect
42-
golang.org/x/term v0.13.0 // indirect
43-
golang.org/x/text v0.13.0 // indirect
44-
golang.org/x/time v0.3.0 // indirect
45-
google.golang.org/appengine v1.6.7 // indirect
46-
google.golang.org/protobuf v1.33.0 // indirect
37+
go.uber.org/zap v1.27.0 // indirect
38+
golang.org/x/net v0.41.0 // indirect
39+
golang.org/x/oauth2 v0.30.0 // indirect
40+
golang.org/x/sys v0.33.0 // indirect
41+
golang.org/x/term v0.32.0 // indirect
42+
golang.org/x/text v0.26.0 // indirect
43+
golang.org/x/time v0.12.0 // indirect
44+
google.golang.org/protobuf v1.36.6 // indirect
4745
gopkg.in/inf.v0 v0.9.1 // indirect
48-
gopkg.in/yaml.v2 v2.4.0 // indirect
4946
gopkg.in/yaml.v3 v3.0.1 // indirect
50-
k8s.io/api v0.26.15 // indirect
51-
k8s.io/klog/v2 v2.80.1 // indirect
52-
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
53-
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
54-
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
55-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
56-
sigs.k8s.io/yaml v1.3.0 // indirect
47+
k8s.io/api v0.29.8 // indirect
48+
k8s.io/klog/v2 v2.130.1 // indirect
49+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
50+
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
51+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
52+
sigs.k8s.io/randfill v1.0.0 // indirect
53+
sigs.k8s.io/structured-merge-diff/v4 v4.7.0 // indirect
54+
sigs.k8s.io/yaml v1.4.0 // indirect
5755
)

0 commit comments

Comments
 (0)