feat(config): add retention attribute to EolRule

- introduce retention attribute in EolRule struct
- implement getter method for accessing retention value
This commit is contained in:
Jeremiah Russell
2025-10-08 10:00:46 +01:00
committed by Jeremiah Russell
parent 7610f2a9dc
commit 5c42c0f66d

View File

@@ -60,6 +60,10 @@ impl EolRule {
self
}
pub(crate) fn retention(&self) -> &str {
&self.retention
}
pub(crate) fn add_label(&mut self, value: &str) -> &mut Self {
self.labels.push(value.to_string());
self