Fixup merge mistakes

This commit is contained in:
Justin Santa Barbara 2015-04-07 13:33:54 -07:00
parent 95b68ae0b0
commit 2e91fdd2fd
2 changed files with 7 additions and 3 deletions

View File

@ -390,6 +390,11 @@ type ISCSIVolumeSource struct {
IQN string `json:"iqn,omitempty"`
// Required: iSCSI target lun number
Lun int `json:"lun,omitempty"`
// Required: Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs"
// TODO: how do we prevent errors in the filesystem from compromising the machine
FSType string `json:"fsType,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
ReadOnly bool `json:"readOnly,omitempty"`

View File

@ -1197,11 +1197,10 @@ func init() {
if err := s.Convert(&in.GCEPersistentDisk, &out.GCEPersistentDisk, 0); err != nil {
return err
}
<<<<<<< HEAD
if err := s.Convert(&in.ISCSI, &out.ISCSI, 0); err != nil {
=======
return err
}
if err := s.Convert(&in.AWSPersistentDisk, &out.AWSPersistentDisk, 0); err != nil {
>>>>>>> Add initial support for Volumes to AWS
return err
}
if err := s.Convert(&in.HostDir, &out.HostPath, 0); err != nil {