mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #89196 from YuikoTakada/fix_non_aschii_pkg_volume_iscsi
Fix non-ascii characters in pkg/volume/iscsi/iscsi_util_test.go
This commit is contained in:
commit
2c8ef3b19d
@ -353,14 +353,14 @@ func TestClonedIfaceUpdateError(t *testing.T) {
|
|||||||
func TestGetVolCount(t *testing.T) {
|
func TestGetVolCount(t *testing.T) {
|
||||||
// This will create a dir structure like this:
|
// This will create a dir structure like this:
|
||||||
// /tmp/refcounter555814673
|
// /tmp/refcounter555814673
|
||||||
// ├── iface-127.0.0.1:3260:pv1
|
// +-- iface-127.0.0.1:3260:pv1
|
||||||
// │ └── 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-3
|
// | +-- 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-3
|
||||||
// └── iface-127.0.0.1:3260:pv2
|
// +-- iface-127.0.0.1:3260:pv2
|
||||||
// │ ├── 127.0.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-2
|
// | +-- 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
|
// | +-- 192.168.0.1:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-1
|
||||||
// └── volumeDevices
|
// +-- volumeDevices
|
||||||
// └── 192.168.0.2:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-4
|
// +-- 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
|
// +-- 192.168.0.3:3260-iqn.2003-01.io.k8s:e2e.volume-1-lun-5
|
||||||
|
|
||||||
baseDir, err := createFakePluginDirs()
|
baseDir, err := createFakePluginDirs()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user