Skip to content

Commit

Permalink
Update golangci-lint to 1.49.0
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <[email protected]>
  • Loading branch information
killianmuldoon committed Aug 24, 2022
1 parent 6e30f66 commit 8a8f7d7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.48.0
version: v1.49.0
working-directory: ${{matrix.working-directory}}
1 change: 1 addition & 0 deletions bootstrap/kubeadm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// main is the main package for Kubeadm Bootstrap.
package main

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/clusterctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// main is the main package for clusterctl
package main

import (
Expand Down
1 change: 1 addition & 0 deletions controlplane/kubeadm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// main is the main package for Kubeadm Control Plane.
package main

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/runtime/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ func (s *Server) validateHandler(handler ExtensionHandler) error {
}

// Get hook and handler request and response types.
hookRequestType := hookFuncType.In(0) //nolint:ifshort
hookResponseType := hookFuncType.In(1) //nolint:ifshort
hookRequestType := hookFuncType.In(0)
hookResponseType := hookFuncType.In(1)
handlerContextType := handlerFuncType.In(0)
handlerRequestType := handlerFuncType.In(1)
handlerResponseType := handlerFuncType.In(2)
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// main is the main package for the Cluster API Core Provider.
package main

import (
Expand Down

0 comments on commit 8a8f7d7

Please sign in to comment.