File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
crates/stackable-webhook/src/servers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ pub enum ConversionWebhookError {
4646 ConvertCaToPem { source : x509_cert:: der:: Error } ,
4747
4848 #[ snafu( display( "failed to reconcile CRDs" ) ) ]
49- ReconcileCRDs {
49+ ReconcileCrds {
5050 #[ snafu( source( from( ConversionWebhookError , Box :: new) ) ) ]
5151 source : Box < ConversionWebhookError > ,
5252 } ,
5353
5454 #[ snafu( display( "failed to update CRD {crd_name:?}" ) ) ]
55- UpdateCRD {
55+ UpdateCrd {
5656 source : stackable_operator:: kube:: Error ,
5757 crd_name : String ,
5858 } ,
@@ -237,7 +237,7 @@ impl ConversionWebhookServer {
237237 current_cert,
238238 )
239239 . await
240- . context ( ReconcileCRDsSnafu ) ?;
240+ . context ( ReconcileCrdsSnafu ) ?;
241241
242242 try_join ! (
243243 Self :: run_webhook_server( server) ,
@@ -273,7 +273,7 @@ impl ConversionWebhookServer {
273273 current_cert,
274274 )
275275 . await
276- . context ( ReconcileCRDsSnafu ) ?;
276+ . context ( ReconcileCrdsSnafu ) ?;
277277 }
278278 Ok ( ( ) )
279279 }
@@ -323,7 +323,7 @@ impl ConversionWebhookServer {
323323 crd_api
324324 . patch ( & crd_name, & patch_params, & patch)
325325 . await
326- . with_context ( |_| UpdateCRDSnafu {
326+ . with_context ( |_| UpdateCrdSnafu {
327327 crd_name : crd_name. to_string ( ) ,
328328 } ) ?;
329329 }
You can’t perform that action at this time.
0 commit comments