Skip to content

Commit

Permalink
AV-143798 Updated go sdk to fix random 401s (#382)
Browse files Browse the repository at this point in the history
* AV-143798 Updated go sdk to fix random 401s

Signed-off-by: Yograj Shisode <yshisode@vmware.com>

* Updated golangci lint version

Signed-off-by: Yograj Shisode <yshisode@vmware.com>
  • Loading branch information
yograjshisode authored May 25, 2022
1 parent eb04e88 commit 8baff15
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32
version: v1.45.2
args: --issues-exit-code=1
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32
version: v1.45.2
args: --issues-exit-code=1
skip-pkg-cache: true
skip-build-cache: true
-
name: Import GPG key
id: import_gpg
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ build: fmtcheck

build13: GOOS=$(shell go env GOOS)
build13: GOARCH=$(shell go env GOARCH)
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(AVI_PROVIDER_NAMESPACE)/21.1.2/$(GOOS)_$(GOARCH)
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(AVI_PROVIDER_NAMESPACE)/21.1.2-p1.0/$(GOOS)_$(GOARCH)
build13: fmtcheck
@echo "==> Installing plugin to $(DESTINATION)"
@mkdir -p $(DESTINATION)
go build -o $(DESTINATION)/terraform-provider-avi_v21.1.2
go build -o $(DESTINATION)/terraform-provider-avi_v21.1.2-p1.0

test: fmtcheck
go test -i $(TEST) || exit 1
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.13

require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.2
github.com/vmware/alb-sdk v0.0.0-20211014043426-619f58a4d448
github.com/vmware/alb-sdk v0.0.0-20220524153414-98a363b7cfbd
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ github.com/vmware/alb-sdk v0.0.0-20211013105414-1158c9ec4774 h1:U8mL4DtaCqu3Vv/2
github.com/vmware/alb-sdk v0.0.0-20211013105414-1158c9ec4774/go.mod h1:GuFjFl3UCYMUyEnbwPjpu+9wlkGs/10xuJuqE/1rqKI=
github.com/vmware/alb-sdk v0.0.0-20211014043426-619f58a4d448 h1:lLEG5ANtgfdpXg9VS02e9nEtGR8rtK1STcnl4J+aQkE=
github.com/vmware/alb-sdk v0.0.0-20211014043426-619f58a4d448/go.mod h1:GuFjFl3UCYMUyEnbwPjpu+9wlkGs/10xuJuqE/1rqKI=
github.com/vmware/alb-sdk v0.0.0-20220524153414-98a363b7cfbd h1:W/kiSr8oL40N2BqU7cNLdAbaU9FWInnV0Iw/JOSYGjs=
github.com/vmware/alb-sdk v0.0.0-20220524153414-98a363b7cfbd/go.mod h1:GuFjFl3UCYMUyEnbwPjpu+9wlkGs/10xuJuqE/1rqKI=
github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down

0 comments on commit 8baff15

Please sign in to comment.