Revision 1496f5f3 htools/Ganeti/OpParams.hs
b/htools/Ganeti/OpParams.hs | ||
---|---|---|
1433 | 1433 |
|
1434 | 1434 |
-- | Job dependencies. |
1435 | 1435 |
pDependencies :: Field |
1436 |
pDependencies = optionalField $ simpleField "depends" [t| [JobDependency] |] |
|
1436 |
pDependencies = |
|
1437 |
optionalNullSerField $ simpleField "depends" [t| [JobDependency] |] |
|
1437 | 1438 |
|
1438 | 1439 |
-- | Comment field. |
1439 | 1440 |
pComment :: Field |
1440 |
pComment = optionalField $ stringField "comment" |
|
1441 |
pComment = optionalNullSerField $ stringField "comment"
|
|
1441 | 1442 |
|
1442 | 1443 |
-- * Entire opcode parameter list |
1443 | 1444 |
|
Also available in: Unified diff