mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix non-ascii characters in pkg/volume/iscsi/iscsi_util_test.go
This commit is contained in:
parent
84dc704679
commit
558e8bb199
@ -353,14 +353,14 @@ func TestClonedIfaceUpdateError(t *testing.T) {
|
||||
func TestGetVolCount(t *testing.T) {
|
||||
// This will create a dir structure like this:
|
||||
// /tmp/refcounter555814673
|
||||
// ├── iface-127.0.0.1:3260:pv1
|
||||
// │ └── 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-3
|
||||
// └── iface-127.0.0.1:3260:pv2
|
||||
// │ ├── 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-2
|
||||
// │ └── 192.168.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-1
|
||||
// └── volumeDevices
|
||||
// └── 192.168.0.2:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-4
|
||||
// └── 192.168.0.3:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-5
|
||||
// +-- iface-127.0.0.1:3260:pv1
|
||||
// | +-- 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-3
|
||||
// +-- iface-127.0.0.1:3260:pv2
|
||||
// | +-- 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-2
|
||||
// | +-- 192.168.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-1
|
||||
// +-- volumeDevices
|
||||
// +-- 192.168.0.2:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-4
|
||||
// +-- 192.168.0.3:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-5
|
||||
|
||||
baseDir, err := createFakePluginDirs()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user