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 |
|
hyschumi
|
da5d0a72d9
|
refactor: remove dup code
Signed-off-by: hyschumi<msliudongsheng@gmail.com>
|
2021-11-17 14:57:32 +08: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 |
|
Shiming Zhang
|
7c656b55e4
|
Update shutdown cases
|
2021-11-17 11:47:12 +08:00 |
|
Shiming Zhang
|
df7e4c1a3d
|
Add e2e for GracefulNodeShutdownBasedOnPodPriority
|
2021-11-17 11:47:12 +08:00 |
|
Shiming Zhang
|
7a6f792ff3
|
Add validation for GracefulNodeShutdownBasedOnPodPriority
Co-authored-by: Elana Hashman <ehashman@users.noreply.github.com>
|
2021-11-17 11:47:12 +08:00 |
|
Shiming Zhang
|
545313bdc7
|
Implement graceful shutdown based on Pod priority
|
2021-11-17 11:47:12 +08:00 |
|
Shiming Zhang
|
d82f606970
|
Add field for KubeletConfiguration and Regenerate
|
2021-11-17 11:47:12 +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 |
|
cyclinder
|
d8a801a7a2
|
kube-proxy remove todo: call iptables -S first when delete chain
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
|
2021-11-17 10:12:57 +08:00 |
|
brianpursley
|
4a35e6c564
|
close streamConn and stop listening when an error occurs while port forwarding
|
2021-11-16 21:05:43 -05: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 |
|