Skip to content

Commit

Permalink
fix: Fix some go report issues
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Aug 31, 2023
1 parent 74d4dbd commit 998af89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ '1.21.x' ]
go: ['1.21.x']
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Go fmt
run: |
cd "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/terraform-provider-netbox"
find . -name "*.go" -exec go fmt {} \;
find . -name "*.go" -exec gofmt -s -w {} \;
shell: bash

- name: Go generate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ '1.21.x' ]
go: ['1.21.x']
steps:
- name: Check conventional commits in PR
uses: Namchee/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ '1.21.x' ]
go: ['1.21.x']
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/resource_netbox_dcim_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func ResourceNetboxDcimSite() *schema.Resource {
Optional: true,
Default: "active",
ValidateFunc: validation.StringInSlice([]string{"planned", "staging", "active", "decommisioning", "retired"}, false),
Description: "The status of this site. Alowed values: \"active\" (default), \"planned\", \"staging\", \"decommisioning\", \"retired\".",
Description: "The status of this site. Allowed values: \"active\" (default), \"planned\", \"staging\", \"decommisioning\", \"retired\".",
},
"tag": &tag.TagSchema,
"tenant_id": {
Expand Down

0 comments on commit 998af89

Please sign in to comment.