Merge pull request #115537 from MadhavJivrajani/bump-tools-deps-go120
*: Bump golangci-lint version and adapt to new linters
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user