rename StorageType StorageMedium

This commit is contained in:
Tim Hockin
2015-05-18 13:26:09 -07:00
parent f66ca25d9f
commit fd22f48f5b
11 changed files with 41 additions and 41 deletions

View File

@@ -42,7 +42,7 @@ var _ = Describe("emptyDir", func() {
It("volume on tmpfs should have the correct mode", func() {
volumePath := "/test-volume"
source := &api.EmptyDirVolumeSource{
Medium: api.StorageTypeMemory,
Medium: api.StorageMediumMemory,
}
pod := testPodWithVolume(volumePath, source)
@@ -60,7 +60,7 @@ var _ = Describe("emptyDir", func() {
volumePath := "/test-volume"
filePath := path.Join(volumePath, "test-file")
source := &api.EmptyDirVolumeSource{
Medium: api.StorageTypeMemory,
Medium: api.StorageMediumMemory,
}
pod := testPodWithVolume(volumePath, source)