Skip to content

Commit c0fd658

Browse files
update go to 1.20.2 (#226)
* update go to 1.20.2 * update go mod to 1.20 * revert go mod change * update gofmt Signed-off-by: YuChen <[email protected]> --------- Signed-off-by: YuChen <[email protected]> Co-authored-by: YuChen <[email protected]>
1 parent ff57424 commit c0fd658

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.20.0 as builder
2+
FROM golang:1.20.2 as builder
33
ARG GOARCH
44

55
WORKDIR /workspace

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.51.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

controllers/common/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func CheckListDifference(slice1 []string, slice2 []string) bool {
6969
return false
7070
}
7171

72-
//StringSliceContentEqual checks if the contant from two string slice are the same
72+
// StringSliceContentEqual checks if the contant from two string slice are the same
7373
func StringSliceContentEqual(slice1, slice2 []string) bool {
7474
set1 := MakeSet(slice1)
7575
set2 := MakeSet(slice2)

0 commit comments

Comments
 (0)