Describe the age of the last success relative to the current time.
(&self)
| 314 | impl AgentHookSummary { |
| 315 | /// Describe the age of the last success relative to the current time. |
| 316 | pub fn liveness(&self) -> String { |
| 317 | self.liveness_at(&chrono::Utc::now().to_rfc3339()) |
| 318 | } |
| 319 | |
| 320 | fn liveness_at(&self, now: &str) -> String { |
| 321 | match (&self.last_fired, &self.last_ok) { |
nothing calls this directly
no test coverage detected