]> git.proxmox.com Git - mirror_ovs.git/commit
ovsdb raft: cmd->eid should always be non-null.
authorHan Zhou <hzhou8@ebay.com>
Fri, 12 Apr 2019 23:26:27 +0000 (16:26 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 15 Apr 2019 20:15:56 +0000 (13:15 -0700)
commit7ef3608942f545a880c566e8df75ca3d177a32ad
tree2e20761038296a579666090949d150a6dab671dd
parenteb6922584c0f86e6ee1528b365a98f918f02a2ee
ovsdb raft: cmd->eid should always be non-null.

raft_command's eid should always be non-null in all 3 cases. Fix the
comment, and also replace if condition with assert.

Signed-off-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovsdb/raft.c