ganeti

Safe HaskellSafe-Infered

Ganeti.MaintD.CleanupIncidents

Description

Incident clean up in the maintenance daemon.

This module implements the clean up of events that are finished, and acknowledged as such by the user.

Synopsis

Documentation

cleanupIncident :: IORef MemoryState -> List -> Incident -> ResultT String IO ()Source

cleanupIncidents :: IORef MemoryState -> List -> ResultT String IO ()Source

Remove all incidents from the record that are in a final state and additionally the node tag for that incident has been removed.