Correct metadata for BackupStorageLocationList

Signed-off-by: Nolan Brubaker <nolan@heptio.com>
This commit is contained in:
Nolan Brubaker
2018-08-28 13:14:51 -07:00
committed by Steve Kriss
parent 345c3c39b1
commit 56f1617049
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -34,9 +34,9 @@ type BackupStorageLocation struct {
// BackupStorageLocationList is a list of BackupStorageLocations.
type BackupStorageLocationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Items []BackupStorageLocation `json:"items"`
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []BackupStorageLocation `json:"items"`
}
// StorageType represents the type of storage that a backup location uses.
+1 -1
View File
@@ -333,7 +333,7 @@ func (in *BackupStorageLocation) DeepCopyObject() runtime.Object {
func (in *BackupStorageLocationList) DeepCopyInto(out *BackupStorageLocationList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]BackupStorageLocation, len(*in))