Commit Graph

261 Commits

Author SHA1 Message Date
pacoxu
669fb50136 upgrade staticcheck to v0.2.0 and update the static failure packages 2021-06-28 18:04:16 +08:00
njuptlzf
93365919b5 Fix staticcheck failures 2021-06-23 23:27:43 +08:00
tiloso
c5d70e9db1 Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver} 2021-06-05 22:15:15 +02:00
Kubernetes Prow Robot
04a0dcec8d
Merge pull request #99371 from tiloso/staticcheck-apimachinery-util
Fix staticcheck in k8s.io/apimachinery/pkg/util
2021-05-21 07:38:46 -07:00
Kubernetes Prow Robot
d76d217b0f
Merge pull request #97867 from lauchokyip/fixstaticerrors
Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog
2021-05-07 10:47:03 -07:00
Kubernetes Prow Robot
bd6f5c2e64
Merge pull request #100993 from mozillazg/fix-staticcheck-failed-registry-rest-resttest
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/rest/resttest
2021-05-06 07:07:16 -07:00
mozillazg
92ece853be
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/rest/resttest 2021-05-06 07:49:22 +08:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
tiloso
627218a8e2 Fix staticcheck in k8s.io/apimachinery/pkg/util 2021-04-12 18:06:11 +02:00
Kubernetes Prow Robot
2ccc7292e7
Merge pull request #100430 from mozillazg/fix-staticcheck-failed-apimachinery-serializer
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime
2021-04-10 20:29:27 -07:00
Huang Huang
02d20442a5
Fix staticcheck failures for vendor/k8s.io/client-go/transport (#100429)
* Fix staticcheck failures for vendor/k8s.io/client-go/transport

* avoid the possibility of a hang
2021-04-10 20:29:15 -07:00
Kubernetes Prow Robot
3fd31f12ee
Merge pull request #100570 from tiloso/staticcheck-clientgo-discovery
Fix staticcheck in k8s.io/client-go/discovery
2021-04-09 05:19:12 -07:00
tiloso
dc16cf4285 Fix staticcheck in k8s.io/client-go/discovery 2021-03-25 22:29:37 +01:00
mozillazg
15688b6342
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime 2021-03-21 19:41:40 +08:00
chymy
c28be0baab Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim 2021-03-11 22:16:05 -05:00
Kubernetes Prow Robot
23af91b293
Merge pull request #97779 from tiloso/staticcheck-test-integration-gs
Fix staticcheck in test/integration/{garbagecollector,scheduler_perf}
2021-03-10 16:04:23 -08:00
Kubernetes Prow Robot
e5538fa94f
Merge pull request #98210 from cici37/fix
Fix flag passing in CCM
2021-03-03 14:40:01 -08:00
cici37
edc5b58e23 Update BUILD and staticcheck. 2021-03-01 10:22:06 -08:00
chymy
3bab70b06a Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-27 03:25:24 -05:00
chymy
04515b9c0a Fix static failures for vendor/k8s.io/apiserver/pkg/endpoints/handlers 2021-02-26 21:01:55 -05:00
tiloso
e1ceac0783 Fix staticcheck in test/integration/{scheduler_perf,garbagecollector} 2021-02-10 10:55:09 +01:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration 2021-02-07 23:47:23 +05:30
Kubernetes Prow Robot
81d8ccfa8e
Merge pull request #97224 from tanjing2020/fix_SA2002
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-02-04 13:23:03 -08:00
Kubernetes Prow Robot
101cdbf932
Merge pull request #97295 from tiloso/staticcheck-test-integration
Fix staticcheck in test/integration/{examples,framework}
2021-02-01 04:49:48 -08:00
tanjing2020
c38a06bca6 fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints 2021-01-29 11:39:25 +08:00
Kubernetes Prow Robot
125a5f10a6
Merge pull request #96599 from tanjing2020/master
fix staticcheck:pkg/volume/testing
2021-01-28 18:43:40 -08:00
Chok Yip Lau
eaaa803d48 Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog 2021-01-25 21:16:28 -05:00
Kubernetes Prow Robot
f5bb2c19b9
Merge pull request #97882 from ialidzhikov/staticcheck/x509
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
2021-01-25 09:26:54 -08:00
Kubernetes Prow Robot
6040a06a2e
Merge pull request #97841 from feranwq/patch-92402-2
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-21 09:57:27 -08:00
Kubernetes Prow Robot
ef3337a443
Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
feranwq
ddba6a79d4 fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck 2021-01-12 19:03:13 +08:00
ialidzhikov
5771ea733f Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-10 00:32:42 +02:00
pacoxu
aaa7084a4a fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/ 2021-01-07 11:27:03 +08:00
Kubernetes Prow Robot
6af5fdcf98
Merge pull request #94396 from habibrosyad/patch-92402-10
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2021-01-06 08:43:52 -08:00
ialidzhikov
8a0bce0021 Fix staticcheck in staging/src/k8s.io/apiserver/pkg/admission/initializer
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-02 22:41:13 +02:00
tiloso
3cbdc711de Fix staticcheck in test/integration/{examples,framework}
Part of #92402, fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Kubernetes Prow Robot
58287f3cb6
Merge pull request #96660 from KobayashiD27/staticcheck_in_endpoints_request
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-12-08 18:34:57 -08:00
Kubernetes Prow Robot
cb8ad64243
Merge pull request #96632 from sbueringer/pr-fix-staticcheck-apiserver-server
fix staticcheck: vendor/k8s.io/apiserver/pkg/server/{options,storage}
2020-12-08 17:30:07 -08:00
Kobayashi Daisuke
fa68cda13f fix staticchekc failer in apiserver/pkg/endpoints/request 2020-11-18 15:28:35 +09:00
Stefan Bueringer
6190b87927
rollback httplog change 2020-11-17 12:56:47 +01:00
Stefan Bueringer
ed0adcb65e
fix staticcheck: vendor/k8s.io/apiserver/pkg/server 2020-11-17 11:58:13 +01:00
tanjing2020
3398401c06 fix staticcheck:pkg/volume/testing
pkg/volume/testing/testing.go:417:16: possible nil pointer derefence (SA5011)
2020-11-17 14:45:13 +08:00
lala123912
5710e1b162 fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
vendor/k8s.io/kubectl/pkg/cmd/scale/scale.go:212:2: this value of err is never used (SA4006)
2020-11-14 12:17:11 +08:00
Kubernetes Prow Robot
995e531a63
Merge pull request #93764 from cici37/ccmwrap
Adding flexibility to CCM
2020-11-09 13:44:28 -08:00
cici37
895a0a8d5e Adding config extension to CCM. 2020-11-06 02:42:44 -08:00
Kubernetes Prow Robot
226ea6b49d
Merge pull request #96231 from deads2k/clean-up-feature
update features to indicate beta in comment
2020-11-05 15:17:04 -08:00
David Eads
73f7a9b394 update features to indicate beta in comment 2020-11-05 07:21:19 -05:00
Sascha Grunert
7b9d7fd953
Propose seccomp/apparmor protobuf type definitions for CRI graduation
With the graduation of the Container Runtime Interface (CRI) we will
have a unique chance to change the protobuf protocol. We now use native
types for seccomp and AppArmor to make the API more clear and concise to
be used.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-03 20:17:17 +01:00
M. Habib Rosyad
979fba1cb0 fix vendor/k8s.io/apimachinery/pkg/api/meta staticcheck 2020-11-01 15:38:57 +07:00
Kubernetes Prow Robot
17312ea4a9
Merge pull request #95810 from ruiwen-zhao/staticcheck_fix
Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, auth…
2020-10-28 07:45:55 -07:00