✨ 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:
committed by
Jeremiah Russell
parent
7610f2a9dc
commit
5c42c0f66d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user