mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
set default HostPathType to empty
This commit is contained in:
@@ -554,7 +554,7 @@ func TestHostPathTypeCheckerInternal(t *testing.T) {
|
||||
isFile: false,
|
||||
exists: false,
|
||||
validpathType: newHostPathTypeList(string(v1.HostPathFileOrCreate)),
|
||||
invalidpathType: newHostPathTypeList(string(v1.HostPathFile), string(v1.HostPathDirectory),
|
||||
invalidpathType: newHostPathTypeList(string(v1.HostPathDirectory),
|
||||
string(v1.HostPathSocket), string(v1.HostPathCharDev), string(v1.HostPathBlockDev)),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user