Dashboard: Transform v2alpha1 to v1beta1 (#114024)
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
This commit is contained in:
co-authored by
Haris Rozajac
parent
8ff75c2177
commit
39d0dbeddc
@@ -13,6 +13,8 @@ import (
|
||||
|
||||
func Convert_V1beta1_to_V0(in *dashv1.Dashboard, out *dashv0.Dashboard, scope conversion.Scope) error {
|
||||
out.ObjectMeta = in.ObjectMeta
|
||||
out.APIVersion = dashv0.APIVERSION
|
||||
out.Kind = in.Kind
|
||||
|
||||
out.Spec.Object = in.Spec.Object
|
||||
|
||||
|
||||
Reference in New Issue
Block a user