Dashboards/API: Keep original when conversion fails (#109912)
* keep original * openapi * update tests * workspace * workspace * fix ts * merge main * update snapshots
This commit is contained in:
@@ -49,6 +49,7 @@ func Convert_V1_to_V2alpha1(in *dashv1.Dashboard, out *dashv2alpha1.Dashboard, s
|
||||
StoredVersion: ptr.To(dashv1.VERSION),
|
||||
Failed: true,
|
||||
Error: ptr.To("backend conversion not yet implemented"),
|
||||
Source: in,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -65,6 +66,7 @@ func Convert_V1_to_V2beta1(in *dashv1.Dashboard, out *dashv2beta1.Dashboard, sco
|
||||
StoredVersion: ptr.To(dashv1.VERSION),
|
||||
Failed: true,
|
||||
Error: ptr.To("backend conversion not yet implemented"),
|
||||
Source: in,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user