Skip to content

Commit 37016c3

Browse files
authored
Merge pull request kubernetes#80182 from wongma7/windows-hostpath-test-master
Create C:\tmp if DNE
2 parents 550fb1b + d5e838f commit 37016c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/e2e/windows/volumes.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ var _ = SIGDescribe("Windows volume mounts ", func() {
4747
Medium: v1.StorageMediumDefault,
4848
},
4949
}
50-
51-
hostMapSource = v1.VolumeSource{
50+
hostPathDirectoryOrCreate = v1.HostPathDirectoryOrCreate
51+
hostMapSource = v1.VolumeSource{
5252
HostPath: &v1.HostPathVolumeSource{
5353
Path: hostMapPath,
54+
Type: &hostPathDirectoryOrCreate,
5455
},
5556
}
5657
)

0 commit comments

Comments
 (0)