Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code

Remove unused code from CSI e2e tests
k3s-v1.15.3
Kubernetes Prow Robot 2019-05-07 00:23:41 -07:00 committed by GitHub
commit db44f31bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -20,7 +20,6 @@ limitations under the License.
package drivers
import (
"flag"
"fmt"
"io/ioutil"
"os"
@ -37,17 +36,6 @@ import (
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
)
var (
csiImageVersion = flag.String("storage.csi.image.version", "", "overrides the default tag used for hostpathplugin/csi-attacher/csi-provisioner/driver-registrar images")
csiImageRegistry = flag.String("storage.csi.image.registry", "quay.io/k8scsi", "overrides the default repository used for hostpathplugin/csi-attacher/csi-provisioner/driver-registrar images")
csiImageVersions = map[string]string{
"hostpathplugin": "v0.4.0",
"csi-attacher": "v0.4.0",
"csi-provisioner": "v0.4.0",
"driver-registrar": "v0.4.0",
}
)
func shredFile(filePath string) {
if _, err := os.Stat(filePath); os.IsNotExist(err) {
e2elog.Logf("File %v was not found, skipping shredding", filePath)