mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-30 12:02:44 +00:00
Correct metadata for BackupStorageLocationList
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
This commit is contained in:
committed by
Steve Kriss
parent
345c3c39b1
commit
56f1617049
@@ -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.
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user