Skip to content

Commit

Permalink
feat: impl Atomic for Duration (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer authored Oct 10, 2023
1 parent 48cfb1c commit 2de5adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ use std::{

pub use stackable_operator_derive::Merge;

use crate::duration::Duration;

/// A type that can be merged with itself
///
/// This is primarily intended to be implemented for configuration values that can come from several sources, for example
Expand Down Expand Up @@ -141,6 +143,7 @@ impl Atomic for isize {}
impl Atomic for bool {}
impl Atomic for String {}
impl Atomic for Quantity {}
impl Atomic for Duration {}
impl<'a> Atomic for &'a str {}
impl Atomic for LabelSelector {}
impl Atomic for PodAffinity {}
Expand Down

0 comments on commit 2de5adf

Please sign in to comment.