Skip to content

Commit

Permalink
update to 1.21.1, fix up golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhungus committed Sep 12, 2023
1 parent 8e2a620 commit b0025fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 as build
FROM golang:1.21.1 as build

WORKDIR /go/src/app

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/salesforce/kubelet-summary-exporter

go 1.21

toolchain go1.21.0
toolchain go1.21.1

require (
github.com/alecthomas/kong v0.7.1
Expand Down
7 changes: 3 additions & 4 deletions hack/fetch-golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ goos="unknown"

if [[ "$OSTYPE" == "linux-gnu" ]]; then
goos="linux"
golangci_lint_sha256="17c9ca05253efe833d47f38caf670aad2202b5e6515879a99873fabd4c7452b3"
golangci_lint_sha256="762ef7c877d9baa4a3ffcc69c88ecf35faf47cd76c1394792d5fecc15f6dc84b"
elif [[ "$OSTYPE" == "darwin"* ]]; then
goos="darwin"
golangci_lint_sha256="925c4097eae9e035b0b052a66d0a149f861e2ab611a4e677c7ffd2d4e05b9b89"
golangci_lint_sha256="04d936f68895a9127999fdfa78872a3245d89dd6900c147dc9106c06870b9c5b"
fi

srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null 2>&1 && pwd )"
Expand All @@ -25,8 +25,7 @@ fi
workdir=$(mktemp -d)

function cleanup {
echo $workdir
echo foo # rm -rf "$workdir"
rm -rf "$workdir"
}
trap cleanup EXIT

Expand Down

0 comments on commit b0025fa

Please sign in to comment.