Antonio Ojea
|
98884f733a
|
remove ineffectual assignment base var
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
f143d1b2cd
|
remove unused constant errLeaseFailed
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
05f9a86f41
|
fix diskName assignment
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
e1821c13eb
|
remove inefficient assignment
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
0019f98613
|
no lint unused variables
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
e82e0b38ff
|
no lint unused variables
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
4352768240
|
fix inefassign linter declaring variable
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
4bf93f318a
|
nolint:staticcheck,ineffassign Convert function
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
35c05a3afa
|
nolint float64(-0.0), //nolint:staticcheck // SA4026:
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
c4080c2ad1
|
nolint unused expectNoMatchDirect function
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
52c69ba744
|
fix ineffectual assignment to name (ineffassign)
|
2021-11-17 13:58:54 +01:00 |
|
Antonio Ojea
|
31d45d000b
|
fix ineffectual assignment to base var
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
b2971e7497
|
fix ineffectual assignment to i (ineffassign)
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
a36517f9e7
|
nolint unused errLeaseFailed
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
d55af19c1b
|
fix ineffectual assignment to diskName
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
fa3c4b953f
|
fix SA4005: ineffective assignment to field PatchMeta.patchStrategies (staticcheck)
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
01a0fba362
|
fix unassigned error on client-go test
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
d126b14838
|
migrate nolint coments to golangci-lint
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
272b31da50
|
use golangci-lint and remove legacy verify-staticcheck.sh
|
2021-11-17 13:58:53 +01:00 |
|
Antonio Ojea
|
86e197991a
|
fix golangci-lint config file using exclude-rules
golangci configuration file
disable soon to be deprecated golangci linters
remove useless comments on golangci config
|
2021-11-17 13:58:53 +01:00 |
|
Hanna Lee
|
ca7cfb75d0
|
Copy in options from now-deleted hack/verify-staticcheck.sh script
|
2021-11-17 08:56:57 +01:00 |
|
Tim Hockin
|
e986d72575
|
Add staticcheck to .golangci.yaml
TODO: port options from verify-staticcheck.sh and delete it
|
2021-11-17 08:56:57 +01:00 |
|
Tim Hockin
|
3bca4e6d67
|
Move golangci-lint config to a file
Make verify-golangci-lint.sh work across modules and take an optional
argument for a package.
|
2021-11-17 08:56:57 +01:00 |
|
Hanna Lee
|
e78b3e8dfe
|
Use nolint directive instead of stopping ticker, per liggit's suggestion
|
2021-11-17 08:56:57 +01:00 |
|
Hanna Lee
|
69d029bddb
|
Add syncTicker.Stop()
|
2021-11-17 08:56:57 +01:00 |
|
Hanna Lee
|
07a883d8e6
|
Remove //lint:ignore pragmas that aren't being used anymore
|
2021-11-17 08:56:54 +01:00 |
|
Hanna Lee
|
a707061828
|
Simplify multiplication
|
2021-11-17 08:56:02 +01:00 |
|
Hanna Lee
|
2933df3645
|
Fix order of operations
|
2021-11-17 08:56:02 +01:00 |
|
Hanna Lee
|
c8fde197f5
|
Add more //nolint:staticcheck for failures caught in PR tests
|
2021-11-17 08:56:02 +01:00 |
|
Hanna Lee
|
c862d7c0e9
|
Fix last remaining SA5011 error by removing unnecessary r != nil check
|
2021-11-17 08:56:01 +01:00 |
|
Hanna Lee
|
a7daeb37af
|
Convert one more utilflag.IPVar to &utilflag.IPVar
|
2021-11-17 08:56:01 +01:00 |
|
Hanna Lee
|
7ea01c0bdb
|
Add staticcheck to verify-golangci-lint.sh
|
2021-11-17 08:56:01 +01:00 |
|
Hanna Lee
|
04fadd8b03
|
Fix SA5011 errors by making control flow abort obvious to linter
|
2021-11-17 08:56:00 +01:00 |
|
Hanna Lee
|
1fbf06f5ad
|
Use time.NewTicker instead of time.Tick to avoid leaking
|
2021-11-17 08:56:00 +01:00 |
|
Hanna Lee
|
30ea05ae7b
|
Update IPVar and IPPortVar functions to have pointer receivers to fix 'ineffective assignment'
|
2021-11-17 08:56:00 +01:00 |
|
Hanna Lee
|
0f3836dcc5
|
Ignore deprecation warnings with //nolint:staticcheck
|
2021-11-17 08:55:57 +01:00 |
|
Hanna Lee
|
979c4254eb
|
Fix integer division
|
2021-11-17 08:53:19 +01:00 |
|
Kubernetes Prow Robot
|
6c357f9996
|
Merge pull request #106041 from jonyhy96/volumemanager-reconciler-codefmt
kubelet: extract multiple ignore errors validate logic to isExpectedError
|
2021-11-16 22:55:53 -08:00 |
|
Kubernetes Prow Robot
|
f784891854
|
Merge pull request #105945 from Jefftree/openapi-v3-test
OpenAPI v3
|
2021-11-16 21:14:05 -08:00 |
|
Kubernetes Prow Robot
|
9dd8aad535
|
Merge pull request #104750 from sanposhiho/fix/bug/proxy/defer-with-os-exit
Fix(kube-proxy): remove os.Exit from cobra.Command
|
2021-11-16 21:13:53 -08:00 |
|
Kubernetes Prow Robot
|
7eb502be37
|
Merge pull request #106141 from enj/enj/i/oidc_client
oidc authenticator: allow http.Client to be overridden
|
2021-11-16 20:11:53 -08:00 |
|
Kubernetes Prow Robot
|
0c476690d5
|
Merge pull request #105520 from soltysh/bump_burst
Bump discovery burst for kubectl to 300
|
2021-11-16 18:45:53 -08:00 |
|
Kubernetes Prow Robot
|
39c76ba2ed
|
Merge pull request #106455 from soltysh/cronjob_warning
Add warning about using unsupported CRON_TZ
|
2021-11-16 17:44:31 -08:00 |
|
Kubernetes Prow Robot
|
400ec74080
|
Merge pull request #106098 from wongma7/csimigrationawsdefault
Turn CSIMigrationAWS on by default
|
2021-11-16 17:44:24 -08:00 |
|
Kubernetes Prow Robot
|
c0b5ed7556
|
Merge pull request #105611 from damemi/simplified-multipoint-extension
Scheduler simplified MultiPoint plugin config
|
2021-11-16 17:44:12 -08:00 |
|
Kubernetes Prow Robot
|
1f6d5caa9a
|
Merge pull request #105437 from cmssczy/update-kubelet-configuration
migrate --register-with-taints to KubeletConfiguration
|
2021-11-16 17:44:00 -08:00 |
|
Kubernetes Prow Robot
|
8d9e424f73
|
Merge pull request #103447 from trierra/csi-translation-portworx
Csi translation portworx
|
2021-11-16 17:43:53 -08:00 |
|
Jefftree
|
d01c42c454
|
go mod vendor
|
2021-11-16 17:38:55 -08:00 |
|
Kermit Alexander
|
3180012c1b
|
Add integration tests for OpenAPI v3.
|
2021-11-16 17:38:54 -08:00 |
|
Jefftree
|
ae1984a89d
|
Generate openapi v3 static files
|
2021-11-16 17:38:54 -08:00 |
|