Skip to content

Commit 99617d2

Browse files
committed
chore: Slightly improve annotation insertion
1 parent 8c228c7 commit 99617d2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

  • crates/stackable-operator/src/builder/pod

crates/stackable-operator/src/builder/pod/volume.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,10 @@ impl SecretOperatorVolumeSourceBuilder {
353353
pub fn build(&self) -> Result<EphemeralVolumeSource, SecretOperatorVolumeSourceBuilderError> {
354354
let mut annotations = Annotations::new();
355355

356+
#[rustfmt::skip]
356357
annotations
357-
.insert(Annotation::secret_class(&self.secret_class).context(ParseAnnotationSnafu)?);
358-
annotations.insert(
359-
Annotation::secret_provision_parts(&self.provision_parts)
360-
.context(ParseAnnotationSnafu)?,
361-
);
358+
.insert(Annotation::secret_class(&self.secret_class).context(ParseAnnotationSnafu)?)
359+
.insert(Annotation::secret_provision_parts(&self.provision_parts).context(ParseAnnotationSnafu)?);
362360

363361
if !self.scopes.is_empty() {
364362
annotations

0 commit comments

Comments
 (0)