Skip to content

Commit b5eed96

Browse files
committed
refactor: Pass client by reference
1 parent 736e202 commit b5eed96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/stackable-operator/src/utils/signal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub enum CrdEstablishedError {
100100
/// when the underlying API returned errors (CRD is unknown to the Kubernetes API server or due to
101101
/// missing permissions).
102102
pub async fn crd_established(
103-
client: Client,
103+
client: &Client,
104104
crd_name: &str,
105105
timeout_duration: impl Into<Option<Duration>>,
106106
) -> Result<(), CrdEstablishedError> {

0 commit comments

Comments
 (0)