Commit c22afe9
Use golangci-lint as linter for Go (#1671)
* use golangci-lint as linter for Go instead of golint
* Update hack/verify-golangci-lint.sh
Co-authored-by: Andrey Velichkevich <[email protected]>
* specify golangci-lint version
Co-authored-by: Andrey Velichkevich <[email protected]>
* fix echo comment
Co-authored-by: Andrey Velichkevich <[email protected]>
* fix echo comment
Co-authored-by: Andrey Velichkevich <[email protected]>
* fix lint
* fix gofmt
* fix generated codes
* close the connection for early stopping without using defer
* do not create or delete any resources within gomega.Eventually
* add condition to return error in getKatibJob func
* remove comment out lines
* simplify some codes
Co-authored-by: Andrey Velichkevich <[email protected]>
* remove an unnecessary variable
Co-authored-by: Andrey Velichkevich <[email protected]>
* fix golangci-lint error
Co-authored-by: Andrey Velichkevich <[email protected]>
Co-authored-by: Andrey Velichkevich <[email protected]>1 parent b0e9174 commit c22afe9
File tree
38 files changed
+421
-332
lines changed- cmd/metricscollector/v1beta1/file-metricscollector
- hack
- pkg
- apis/controller
- common/v1beta1
- experiments/v1beta1
- controller.v1beta1
- experiment
- manifest
- util
- suggestion
- composer
- suggestionclient
- trial
- managerclient
- db/v1beta1/mysql
- metricscollector/v1beta1/file-metricscollector
- new-ui/v1beta1
- ui/v1beta1
- util/v1beta1/katibclient
- webhook/v1beta1/pod
38 files changed
+421
-332
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
| |||
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments