Skip to content

Commit cacab52

Browse files
committed
Move _resource down
1 parent 1b257d3 commit cacab52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/stackable-webhook/src/webhooks/mutating_webhook.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ pub struct MutatingWebhook<H, S, R> {
114114
/// The internal state of the webhook. You can define yourself what exactly this state is.
115115
handler_state: Arc<S>,
116116

117-
/// This field is not needed, it only tracks the type of the Kubernetes resource we are mutating
118-
_resource: PhantomData<R>,
119-
120117
/// The Kubernetes client used to maintain the MutatingWebhookConfigurations
121118
client: Client,
119+
120+
/// This field is not needed, it only tracks the type of the Kubernetes resource we are mutating
121+
_resource: PhantomData<R>,
122122
}
123123

124124
/// Configuration of a [`MutatingWebhook`], which is passed to [`MutatingWebhook::new`]

0 commit comments

Comments
 (0)