mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Fix type in mount_windows.go
This commit is contained in:
parent
5a6cccc556
commit
08ef11029f
@ -370,7 +370,7 @@ func TestMountUnmount(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if runtime.GOOS != "windows" {
|
if runtime.GOOS != "windows" {
|
||||||
// skip this check in windows since the "bind mount" logic is implemented differently in mount_wiondows.go
|
// skip this check in windows since the "bind mount" logic is implemented differently in mount_windows.go
|
||||||
if _, err := os.Stat(path); err != nil {
|
if _, err := os.Stat(path); err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
t.Errorf("SetUp() failed, volume path not created: %s", path)
|
t.Errorf("SetUp() failed, volume path not created: %s", path)
|
||||||
|
Loading…
Reference in New Issue
Block a user