Added NFS to PV structs

This commit is contained in:
markturansky
2015-04-30 12:16:51 -04:00
parent e25210d367
commit 68ce264a6d
7 changed files with 20 additions and 0 deletions

View File

@@ -1609,6 +1609,9 @@ func init() {
if err := s.Convert(&in.Glusterfs, &out.Glusterfs, 0); err != nil {
return err
}
if err := s.Convert(&in.NFS, &out.NFS, 0); err != nil {
return err
}
return nil
},
func(in *newer.PersistentVolumeSource, out *PersistentVolumeSource, s conversion.Scope) error {
@@ -1624,6 +1627,9 @@ func init() {
if err := s.Convert(&in.Glusterfs, &out.Glusterfs, 0); err != nil {
return err
}
if err := s.Convert(&in.NFS, &out.NFS, 0); err != nil {
return err
}
return nil
},
func(in *PersistentVolumeSpec, out *newer.PersistentVolumeSpec, s conversion.Scope) error {