Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kycheng committed Apr 15, 2022
1 parent d68ce2b commit a7aec94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ name: Code Style

on:
pull_request:
branches: [ 'main', 'master', 'release-*', 'mkdocs' ]
branches: ["main", "master", "release-*", "mkdocs"]

jobs:

autoformat:
name: Auto-format and Check
runs-on: ubuntu-latest
Expand All @@ -34,10 +33,10 @@ jobs:
- gofmt

include:
- tool: gofmt
options: -s
- tool: goimports
importpath: golang.org/x/tools/cmd/goimports
- tool: gofmt
options: -s
- tool: goimports
importpath: golang.org/x/tools/cmd/goimports

steps:
- name: Set up Go 1.17.x
Expand Down Expand Up @@ -127,7 +126,7 @@ jobs:
if: steps.golangci_configuration.outputs.files_exists == 'true'
uses: golangci/golangci-lint-action@v2
with:
version: v1.40
version: v1.45.2

- name: misspell
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion apis/meta/v1alpha1/auth_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type AuthCheckStatus struct {

// Provides the ability to convert username and password, and token refresh.
// +optional
ReflushData *AuthTokenStatus `json:"reflushData,omitempty"`
RefreshData *AuthTokenStatus `json:"refreshData,omitempty"`
}

const (
Expand Down

0 comments on commit a7aec94

Please sign in to comment.