Skip to content

Commit

Permalink
check-cert: Do not expose level warn and crit
Browse files Browse the repository at this point in the history
Users should use `.evaluate()`.

CMK-14683

Change-Id: Ifb8eee445993b77126df000b9447679fe1fde95e
  • Loading branch information
Synss committed Nov 17, 2023
1 parent ae4c318 commit ea92a4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/check-cert/src/checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ use x509_parser::time::ASN1Time;
use x509_parser::x509::X509Name;

pub struct LowerLevels<T> {
pub warn: T,
pub crit: T,
warn: T,
crit: T,
}

impl<T> LowerLevels<T>
Expand All @@ -33,8 +33,8 @@ where
}

pub struct UpperLevels<T> {
pub warn: T,
pub crit: T,
warn: T,
crit: T,
}

impl<T> UpperLevels<T>
Expand Down

0 comments on commit ea92a4c

Please sign in to comment.