diff mbox series

[ovs-dev] ovn: Remove SBREC_TABLE_HA_CHASSIS ctl_table

Message ID 20221024100520.762929-1-jun.gu@easystack.cn
State Handled Elsewhere
Headers show
Series [ovs-dev] ovn: Remove SBREC_TABLE_HA_CHASSIS ctl_table | expand

Commit Message

Jun Gu Oct. 24, 2022, 10:05 a.m. UTC
From: "jun.gu" <jun.gu@easystack.cn>

Fix bug that ovn-sbctl daemon process exit when list non-existed
ha_chassis.

Submitted-at: https://github.com/ovn-org/ovn/pull/151
Signed-off-by: Jun Gu <jun.gu@easystack.cn>
---
 utilities/ovn-sbctl.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/utilities/ovn-sbctl.c b/utilities/ovn-sbctl.c
index e35556d34a..f60dde1b67 100644
--- a/utilities/ovn-sbctl.c
+++ b/utilities/ovn-sbctl.c
@@ -1431,9 +1431,6 @@  static const struct ctl_table_class tables[SBREC_N_TABLES] = {
     [SBREC_TABLE_HA_CHASSIS_GROUP].row_ids[0]
     = {&sbrec_ha_chassis_group_col_name, NULL, NULL},
 
-    [SBREC_TABLE_HA_CHASSIS].row_ids[0]
-    = {&sbrec_ha_chassis_col_chassis, NULL, NULL},
-
     [SBREC_TABLE_METER].row_ids[0]
     = {&sbrec_meter_col_name, NULL, NULL},