Merge pull request #115537 from MadhavJivrajani/bump-tools-deps-go120

*: Bump golangci-lint version and adapt to new linters
This commit is contained in:
Kubernetes Prow Robot
2023-02-07 05:53:12 -08:00
committed by GitHub
6 changed files with 155 additions and 157 deletions

View File

@@ -111,7 +111,6 @@ var _ = utils.SIGDescribe("PersistentVolumes [Feature:vsphere][Feature:LabelSele
func testSetupVSpherePVClabelselector(ctx context.Context, c clientset.Interface, nodeInfo *NodeInfo, ns string, ssdlabels map[string]string, vvollabels map[string]string) (volumePath string, pvSsd *v1.PersistentVolume, pvcSsd *v1.PersistentVolumeClaim, pvcVvol *v1.PersistentVolumeClaim, err error) {
ginkgo.By("creating vmdk")
volumePath = ""
volumePath, err = nodeInfo.VSphere.CreateVolume(&VolumeOptions{}, nodeInfo.DataCenterRef)
if err != nil {
return

View File

@@ -52,9 +52,16 @@ import (
"k8s.io/kubernetes/test/integration/framework"
)
//lint:ignore U1000 we need to alias only for the sake of embedding
type kubeClientSet = kubernetes.Interface
//lint:ignore U1000 we need to alias only for the sake of embedding
type aggegatorClientSet = aggregator.Interface
//lint:ignore U1000 we need to alias only for the sake of embedding
type apiextensionsClientSet = apiextensions.Interface
//lint:ignore U1000 we need to alias only for the sake of embedding
type dynamicClientset = dynamic.Interface
type testClientSet struct {
kubeClientSet