Rename HostDir to HostPath in v1beta3
This commit is contained in:
@@ -46,7 +46,7 @@ func ExampleManifestAndPod(id string) (api.ContainerManifest, api.BoundPod) {
|
||||
{
|
||||
Name: "host-dir",
|
||||
Source: &api.VolumeSource{
|
||||
HostDir: &api.HostDir{"/dir/path"},
|
||||
HostPath: &api.HostPath{"/dir/path"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -68,7 +68,7 @@ func ExampleManifestAndPod(id string) (api.ContainerManifest, api.BoundPod) {
|
||||
{
|
||||
Name: "host-dir",
|
||||
Source: &api.VolumeSource{
|
||||
HostDir: &api.HostDir{"/dir/path"},
|
||||
HostPath: &api.HostPath{"/dir/path"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user