ganeti

Safe HaskellSafe-Infered

Ganeti.MaintD.Utils

Description

Utility functions for the maintenance daemon.

Synopsis

Documentation

annotateOpCode :: String -> Timestamp -> OpCode -> MetaOpCodeSource

Wrap an OpCode into a MetaOpCode and adding an indication that the OpCode was submitted by the maintenance daemon.

getRepairCommand :: Incident -> Maybe StringSource

Get the name of the repair command from a live-repair incident.