Skip to content

Commit 4093782

Browse files
committed
fix: Remove Serilaize bound
1 parent 8fd3c3f commit 4093782

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crates/stackable-versioned/src/apply_resource.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
use k8s_openapi::Resource;
22
use kube::Client;
3-
use serde::Serialize;
4-
53
/// Given a [kube::Client], apply a resource to the server.
64
///
7-
/// This is esspecially useful when you have custom requirements for deploying
5+
/// This is especially useful when you have custom requirements for deploying
86
/// CRDs to clusters which already have a definition.
97
///
108
/// For example, you want to prevent stable versions (v1) from having any
119
/// change.
12-
pub trait ApplyResource: Resource + Serialize {
10+
pub trait ApplyResource: Resource {
1311
type Error;
1412

1513
/// Apply a resource to a cluster

0 commit comments

Comments
 (0)