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 {
46
46
ConvertCaToPem { source : x509_cert:: der:: Error } ,
47
47
48
48
#[ snafu( display( "failed to reconcile CRDs" ) ) ]
49
- ReconcileCRDs {
49
+ ReconcileCrds {
50
50
#[ snafu( source( from( ConversionWebhookError , Box :: new) ) ) ]
51
51
source : Box < ConversionWebhookError > ,
52
52
} ,
53
53
54
54
#[ snafu( display( "failed to update CRD {crd_name:?}" ) ) ]
55
- UpdateCRD {
55
+ UpdateCrd {
56
56
source : stackable_operator:: kube:: Error ,
57
57
crd_name : String ,
58
58
} ,
@@ -237,7 +237,7 @@ impl ConversionWebhookServer {
237
237
current_cert,
238
238
)
239
239
. await
240
- . context ( ReconcileCRDsSnafu ) ?;
240
+ . context ( ReconcileCrdsSnafu ) ?;
241
241
242
242
try_join ! (
243
243
Self :: run_webhook_server( server) ,
@@ -273,7 +273,7 @@ impl ConversionWebhookServer {
273
273
current_cert,
274
274
)
275
275
. await
276
- . context ( ReconcileCRDsSnafu ) ?;
276
+ . context ( ReconcileCrdsSnafu ) ?;
277
277
}
278
278
Ok ( ( ) )
279
279
}
@@ -323,7 +323,7 @@ impl ConversionWebhookServer {
323
323
crd_api
324
324
. patch ( & crd_name, & patch_params, & patch)
325
325
. await
326
- . with_context ( |_| UpdateCRDSnafu {
326
+ . with_context ( |_| UpdateCrdSnafu {
327
327
crd_name : crd_name. to_string ( ) ,
328
328
} ) ?;
329
329
}
You can’t perform that action at this time.
0 commit comments