Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-karpenko committed Sep 14, 2024
1 parent 43887d5 commit d561c6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pub enum LeaseCreateMode {
/// If it doesn't exist, construct fails with [`NonexistentLease`](LeaseManagerError::NonexistentLease) error.
UseExistent,
#[cfg(test)]
/// Don't create a Lease resource and don't check its actual state, for test config only.
Ignore,
}

Expand Down Expand Up @@ -812,7 +813,7 @@ pub(crate) mod tests {
}

/// Implements Drop trait to delete Lease resource in case of test failure.
/// To use it add following statement at the beginning of a test function.
/// To use it add the following statement at the beginning of a test function.
/// ```rust,no_run
/// let _dropper = LeaseDropper::new(LEASE_NAME, TEST_NAMESPACE);
/// ```
Expand Down

0 comments on commit d561c6b

Please sign in to comment.