summaryrefslogtreecommitdiff
path: root/mgmtd/mgmt_be_adapter.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-05-23 08:35:56 -0400
committerChristian Hopps <chopps@labn.net>2023-05-30 02:10:20 -0400
commit51941c1916f6ae8a01c40cf325ba2ae9aa9dad0b (patch)
tree65298ce21b31729846532e05e896a6a97801be66 /mgmtd/mgmt_be_adapter.c
parent8611886d52f6ca1b741bbf639809a6cad9ec6879 (diff)
mgmtd: address review comments
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_be_adapter.c')
-rw-r--r--mgmtd/mgmt_be_adapter.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mgmtd/mgmt_be_adapter.c b/mgmtd/mgmt_be_adapter.c
index c88b8cf404..2d01f8ecad 100644
--- a/mgmtd/mgmt_be_adapter.c
+++ b/mgmtd/mgmt_be_adapter.c
@@ -790,11 +790,6 @@ struct msg_conn *mgmt_be_create_adapter(int conn_fd, union sockunion *from)
MGMTD_BE_ADAPTER_DBG("Added new MGMTD Backend adapter '%s'",
adapter->name);
-#if 0 /* wait until we receive the SUBSCR_REQ registration with name */
- /* Trigger resync of config with the new adapter */
- mgmt_be_adapter_sched_init_event(adapter);
-#endif
-
return adapter->conn;
}
@@ -820,7 +815,7 @@ int mgmt_be_get_adapter_config(struct mgmt_be_client_adapter *adapter,
assert(cfg_chgs);
/*
- * TODO: we should be consider making this an assertable condition and
+ * TODO: we should consider making this an assertable condition and
* guaranteeing it be true when this function is called. B/c what is
* going to happen if there are some changes being sent, and we don't
* gather a new snapshot, what new changes that came after the previous