@@ -15,7 +15,7 @@ use stackable_operator::{
1515 } ,
1616 kube:: {
1717 Resource ,
18- core:: { DeserializeGuard , conversion :: ConversionReview } ,
18+ core:: DeserializeGuard ,
1919 runtime:: {
2020 Controller ,
2121 events:: { Recorder , Reporter } ,
@@ -233,16 +233,16 @@ async fn main() -> anyhow::Result<()> {
233233
234234 let crds_and_handlers = [
235235 (
236- ZookeeperCluster :: merged_crd ( ZookeeperClusterVersion :: V1Alpha1 ) . unwrap ( ) ,
237- ZookeeperCluster :: try_convert as fn ( ConversionReview ) -> ConversionReview ,
236+ ZookeeperCluster :: merged_crd ( ZookeeperClusterVersion :: V1Alpha1 ) ? ,
237+ ZookeeperCluster :: try_convert as fn ( _ ) -> _ ,
238238 ) ,
239239 (
240- ZookeeperZnode :: merged_crd ( ZookeeperZnodeVersion :: V1Alpha1 ) . unwrap ( ) ,
241- ZookeeperZnode :: try_convert as fn ( ConversionReview ) -> ConversionReview ,
240+ ZookeeperZnode :: merged_crd ( ZookeeperZnodeVersion :: V1Alpha1 ) ? ,
241+ ZookeeperZnode :: try_convert as fn ( _ ) -> _ ,
242242 ) ,
243243 (
244- Person :: merged_crd ( crd:: person:: PersonVersion :: V3 ) . unwrap ( ) ,
245- Person :: try_convert as fn ( ConversionReview ) -> ConversionReview ,
244+ Person :: merged_crd ( crd:: person:: PersonVersion :: V3 ) ? ,
245+ Person :: try_convert as fn ( _ ) -> _ ,
246246 ) ,
247247 ] ;
248248 let conversion_webhook = ConversionWebhookServer :: new (
0 commit comments