On 12/02/2014 03:32 PM, 'Klaus Aehlig' via ganeti-devel wrote:
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


LGTM

--
Niklas Hambüchen
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to