Skip to content

Commit bf8ec3a

Browse files
dhaiducekopenshift-merge-robot
authored andcommitted
Update to Go v1.19
ref: stolostron/backlog#26058 Signed-off-by: Dale Haiducek <[email protected]>
1 parent f448187 commit bf8ec3a

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Stage 1: Use image builder to build the target binaries
22
# Copyright Contributors to the Open Cluster Management project
33

4-
FROM golang:1.18 AS builder
4+
FROM golang:1.19 AS builder
55

66
ENV COMPONENT=governance-policy-addon-controller
77
ENV REPO_PATH=/go/src/open-cluster-management.io/${COMPONENT}

build/common/config/.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
service:
22
# When updating this, also update the version stored in docker/build-tools/Dockerfile in the multicloudlab/tools repo.
3-
golangci-lint-version: 1.18.x # use the fixed version to not introduce new linters unexpectedly
3+
golangci-lint-version: 1.19.x # use the fixed version to not introduce new linters unexpectedly
44
run:
55
# timeout for analysis, e.g. 30s, 5m, default is 1m
66
deadline: 20m

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module open-cluster-management.io/governance-policy-addon-controller
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.1.4

pkg/addon/configpolicy/agent_addon.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ type UserValues struct {
3737
UserArgs UserArgs `json:"args,"`
3838
}
3939

40-
//FS go:embed
40+
// FS go:embed
41+
//
4142
//go:embed manifests
4243
//go:embed manifests/managedclusterchart
4344
//go:embed manifests/managedclusterchart/templates/_helpers.tpl

pkg/addon/policyframework/agent_addon.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const (
1919
addonName = "governance-policy-framework"
2020
)
2121

22-
//FS go:embed
22+
// FS go:embed
23+
//
2324
//go:embed manifests
2425
//go:embed manifests/managedclusterchart
2526
//go:embed manifests/managedclusterchart/templates/_helpers.tpl

0 commit comments

Comments
 (0)