Skip to content

Commit 32885f7

Browse files
committed
rename error variant
1 parent 9d2eef7 commit 32885f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ pub async fn reconcile_trino(
546546
client,
547547
)
548548
.await
549-
.context(InvalidInternalSecretSnafu)?;
549+
.context(CreateInternalSecretSnafu)?;
550550

551551
// This secret is created even if spooling is not configured.
552552
// Trino currently requires the secret to be exactly 256 bits long.
@@ -558,7 +558,7 @@ pub async fn reconcile_trino(
558558
client,
559559
)
560560
.await
561-
.context(InvalidInternalSecretSnafu)?;
561+
.context(CreateInternalSecretSnafu)?;
562562

563563
let mut sts_cond_builder = StatefulSetConditionBuilder::default();
564564

0 commit comments

Comments
 (0)