Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao-su committed Jul 17, 2024
1 parent 45f27dc commit 0db16e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/meta/service/src/notification_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ impl NotificationServiceImpl {
}

fn decrypt_secrets(&self, secrets: Vec<Secret>) -> MetaResult<Vec<Secret>> {
// Skip getting `secret_store_private_key` if there is no secret
if secrets.is_empty() {
return Ok(vec![]);
}
let secret_store_private_key = self
.env
.opts
Expand Down

0 comments on commit 0db16e2

Please sign in to comment.