Skip to content

Commit

Permalink
Bump to Go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
aqstack committed Jul 9, 2024
1 parent 1b81c53 commit 9ea31ac
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions packages/golang-1.21-linux/spec.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/system-metrics-plugin/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -mod=vendor -o ${BOSH_INSTALL_TARGET}/system-metrics-plugin ./cmd/plugin/
2 changes: 1 addition & 1 deletion packages/system-metrics-plugin/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: system-metrics-plugin

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- "**/*"
2 changes: 1 addition & 1 deletion packages/system-metrics-server/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -mod=vendor -o ${BOSH_INSTALL_TARGET}/system-metrics-server ./cmd/server/
2 changes: 1 addition & 1 deletion packages/system-metrics-server/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: system-metrics-server

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- "**/*"
4 changes: 1 addition & 3 deletions src/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/cloudfoundry/bosh-system-metrics-server

go 1.21.0

toolchain go1.21.12
go 1.22.0

require (
github.com/golang/protobuf v1.5.4
Expand Down

0 comments on commit 9ea31ac

Please sign in to comment.