Add a new parameter to the instance creation OpCode
signaling that the instance is now to be committed.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 src/Ganeti/OpCodes.hs          | 1 +
 test/hs/Test/Ganeti/OpCodes.hs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/Ganeti/OpCodes.hs b/src/Ganeti/OpCodes.hs
index f34aaf0..dd2c590 100644
--- a/src/Ganeti/OpCodes.hs
+++ b/src/Ganeti/OpCodes.hs
@@ -477,6 +477,7 @@ $(genOpCode "OpCode"
      , pBackupCompress
      , pStartInstance
      , pForthcoming
+     , pCommit
      , pInstTags
      , pInstanceCommunication
      , pHelperStartupTimeout
diff --git a/test/hs/Test/Ganeti/OpCodes.hs b/test/hs/Test/Ganeti/OpCodes.hs
index 01101df..995da1f 100644
--- a/test/hs/Test/Ganeti/OpCodes.hs
+++ b/test/hs/Test/Ganeti/OpCodes.hs
@@ -338,6 +338,7 @@ instance Arbitrary OpCodes.OpCode where
           <*> genPrintableAsciiString         -- compress
           <*> arbitrary                       -- start
           <*> arbitrary                       -- forthcoming
+          <*> arbitrary                       -- commit
           <*> (genTags >>= mapM mkNonEmpty)   -- tags
           <*> arbitrary                       -- instance_communication
           <*> arbitrary                       -- helper_startup_timeout
-- 
2.2.0.rc0.207.ga3a616c

Reply via email to