ovs-vsctl: Fix assert-fail when an error occurs and "create" command used.
authorBen Pfaff <blp@nicira.com>
Tue, 18 May 2010 21:16:43 +0000 (14:16 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Jun 2010 17:30:18 +0000 (10:30 -0700)
commit8d49c47a5ddda216dfb3998370f0375217b6d6a1
tree61ce55a31a9f54b606c20a199d4e56c5bd4d007f
parent7ac0f8dbf41c185e3e8d3cc9d033467575c99542
ovs-vsctl: Fix assert-fail when an error occurs and "create" command used.

When the "create" command is used, post_create() calls
ovsdb_idl_txn_get_insert_uuid(), which asserts that the transaction
completed successfully.  This makes it clear that postprocess functions
should only run when the transaction completes successfully.  (Currently
post_create() is the only postprocess function.)
utilities/ovs-vsctl.c