From b44d0de5768909f1c2ab802af1a3550398c3f3a5 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Mon, 14 Jan 2019 16:29:18 -0200 Subject: [PATCH] lib: update suggestions related to some northbound errors Since commit 3a11599c, the FRR YANG modules are embedded inside the binaries and no longer need to be loaded from the file system. This way, it's impossible for the FRR binaries and YANG modules to be out of sync anymore. As such, update the suggestions of the northbound error codes. Signed-off-by: Renato Westphal --- lib/lib_errors.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 7e428f135c..5f6c25b770 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -102,7 +102,7 @@ static struct log_ref ferr_lib_warn[] = { .code = EC_LIB_NB_CB_UNNEEDED, .title = "Unneeded northbound callback", .description = "The northbound subsystem, during initialization, has detected a callback that doesn't need to be implemented", - .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries", + .suggestion = "This is a bug; please report it" }, { .code = EC_LIB_NB_CB_CONFIG_VALIDATE, @@ -270,19 +270,19 @@ static struct log_ref ferr_lib_err[] = { .code = EC_LIB_NB_CB_MISSING, .title = "Missing northbound callback", .description = "The northbound subsystem, during initialization, has detected a missing callback for one node of the loaded YANG modules", - .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries", + .suggestion = "This is a bug; please report it" }, { .code = EC_LIB_NB_CB_INVALID_PRIO, .title = "Norhtbound callback has an invalid priority", .description = "The northbound subsystem, during initialization, has detected a callback whose priority is invalid", - .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries", + .suggestion = "This is a bug; please report it" }, { .code = EC_LIB_NB_CBS_VALIDATION, .title = "Failure to validate the northbound callbacks", .description = "The northbound subsystem, during initialization, has detected one or more errors while loading the northbound callbacks", - .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries", + .suggestion = "This is a bug; please report it" }, { .code = EC_LIB_LIBYANG, -- 2.39.5