Revision 1c31b263 src/Ganeti/ConstantUtils.hs
b/src/Ganeti/ConstantUtils.hs | ||
---|---|---|
63 | 63 |
instance PyValue Protocol where |
64 | 64 |
showValue Tcp = "\"tcp\"" |
65 | 65 |
showValue Udp = "\"udp\"" |
66 |
|
|
67 |
-- | Failure exit code |
|
68 |
-- |
|
69 |
-- This is defined here and not in 'Ganeti.HsConstants' together with |
|
70 |
-- the other exit codes in order to avoid a circular dependency |
|
71 |
-- between 'Ganeti.HsConstants' and 'Ganeti.Runtime' |
|
72 |
exitFailure :: Int |
|
73 |
exitFailure = 1 |
Also available in: Unified diff