Skip to content

Commit b96861a

Browse files
authored
Merge pull request kubernetes-sigs#10398 from adityabhatia/bumpGolangciLint1.57.2
🌱 bump golangci-lint to v1.57.2
2 parents 0ec67bd + 118a932 commit b96861a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pr-golangci-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: golangci-lint
3131
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # tag=v4.0.0
3232
with:
33-
version: v1.56.1
33+
version: v1.57.2
3434
args: --out-format=colored-line-number
3535
working-directory: ${{matrix.working-directory}}

exp/runtime/hooks/api/v1alpha1/discovery_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func init() {
100100
"Runtime Extension implementers must use this hook to inform the Cluster API runtime about all the handlers " +
101101
"that are defined in an external component implementing Runtime Extensions.\n" +
102102
"\n" +
103-
"Notes:\n" + //nolint:goconst
103+
"Notes:\n" +
104104
"- When using Runtime SDK utils, a handler for this hook is automatically generated",
105105
Singleton: true,
106106
})

exp/runtime/hooks/api/v1alpha1/lifecyclehooks_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func init() {
204204
"all the objects which are part of a Cluster's topology are going to be created.\n" +
205205
"\n" +
206206
"Notes:\n" +
207-
"- This hook will be called only for Clusters with a managed topology\n" + //nolint:goconst
207+
"- This hook will be called only for Clusters with a managed topology\n" +
208208
"- The call's request contains the Cluster object\n" +
209209
"- This is a blocking hook; Runtime Extension implementers can use this hook to execute\n" +
210210
"tasks before the objects which are part of a Cluster's topology are created",

0 commit comments

Comments
 (0)