On Thu, Nov 7, 2013 at 1:20 PM, Klaus Aehlig <[email protected]> wrote: > Since luxid is going to write to the job queue, > it needs to honor drains of the queue as well. > > Signed-off-by: Klaus Aehlig <[email protected]> > --- > src/Ganeti/Path.hs | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/src/Ganeti/Path.hs b/src/Ganeti/Path.hs > index 8c2df69..9cbc7ee 100644 > --- a/src/Ganeti/Path.hs > +++ b/src/Ganeti/Path.hs > @@ -36,6 +36,7 @@ module Ganeti.Path > , queueDir > , jobQueueSerialFile > , jobQueueLockFile > + , jobQueueDrainFile > , jobQueueArchiveSubDir > , instanceReasonDir > , getInstReasonFilename > @@ -115,6 +116,10 @@ jobQueueSerialFile = queueDir `pjoin` "serial" > jobQueueLockFile :: IO FilePath > jobQueueLockFile = queueDir `pjoin` "lock" > > +-- | Job queue drain file > +jobQueueDrainFile :: IO FilePath > +jobQueueDrainFile = queueDir `pjoin` "drain" > + > -- | Job queue archive directory. > jobQueueArchiveSubDir :: FilePath > jobQueueArchiveSubDir = "archive" > -- > 1.8.4.1 >
LGTM, thanks. Michele -- Google Germany GmbH Dienerstr. 12 80331 München Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Christine Elizabeth Flores
