Skip to content

Commit

Permalink
fix go versions, tidy go mod + fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Apr 26, 2024
1 parent 380b5c6 commit e7d9264
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_helm_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: '^1.19.1'
go-version: "^1.22.2"

- name: Generate helm CRDs
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.21.4"
go-version: "^1.22.2"

- name: Build Manager
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.21.4"
go-version: "^1.22.2"

- name: Build Manager
run: |
Expand Down
2 changes: 1 addition & 1 deletion external_webhooks/pods_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var podlog = logf.Log.WithName("pod-resource")

type PodWebhook struct {
client client.Client
decoder *admission.Decoder
decoder admission.Decoder
}

func (w *PodWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error {
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/rmb938/hostport-allocator

go 1.21
go 1.22.0

toolchain go1.22.2

require (
Expand Down

0 comments on commit e7d9264

Please sign in to comment.