mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code
Remove unused code from CSI e2e tests
This commit is contained in:
commit
db44f31bff
@ -20,7 +20,6 @@ limitations under the License.
|
|||||||
package drivers
|
package drivers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
@ -37,17 +36,6 @@ import (
|
|||||||
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
|
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) {
|
func shredFile(filePath string) {
|
||||||
if _, err := os.Stat(filePath); os.IsNotExist(err) {
|
if _, err := os.Stat(filePath); os.IsNotExist(err) {
|
||||||
e2elog.Logf("File %v was not found, skipping shredding", filePath)
|
e2elog.Logf("File %v was not found, skipping shredding", filePath)
|
||||||
|
Loading…
Reference in New Issue
Block a user