Merge pull request #2820 from ravigadde/master

MountPath in VolumeMount is a required field. Removing the omitempty.
This commit is contained in:
bgrant0607
2014-12-11 08:55:40 -08:00
4 changed files with 4 additions and 4 deletions

View File

@@ -234,7 +234,7 @@ type VolumeMount struct {
// Optional: Defaults to false (read-write).
ReadOnly bool `json:"readOnly,omitempty"`
// Required.
MountPath string `json:"mountPath,omitempty"`
MountPath string `json:"mountPath"`
}
// EnvVar represents an environment variable present in a Container.