Hi Srinivas, Ack (legacy test)
Thanks, Minh On 10/11/17 19:38, Srinivas wrote:
--- src/ntf/ntfimcnd/ntfimcn_imm.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ntf/ntfimcnd/ntfimcn_imm.c b/src/ntf/ntfimcnd/ntfimcn_imm.c index 8fbb8a0..0be7b82 100644 --- a/src/ntf/ntfimcnd/ntfimcn_imm.c +++ b/src/ntf/ntfimcnd/ntfimcn_imm.c @@ -160,7 +160,7 @@ static SaAisErrorT getClassDescription(const SaImmClassNameT className, */ static char *get_rdn_attr_name(const SaImmClassNameT className) { - SaAisErrorT rc; + SaAisErrorT rc = SA_AIS_OK; int i = 0;SaImmAttrDefinitionT_2 **attrDescr;@@ -191,7 +191,7 @@ static char *get_rdn_attr_name(const SaImmClassNameT className) /* Get class description */ rc = getClassDescription(className, &attrDescr); if (rc != SA_AIS_OK) { - LOG_ER("saImmOmClassDescriptionGet_2 failed %s", saf_error(rc)); + LOG_ER("getClassDescription failed %s", saf_error(rc)); goto error; }@@ -234,7 +234,15 @@ error:* osafassert() */ LOG_ER("%s Failed", __FUNCTION__); - osafassert(0); + if ( rc == SA_AIS_ERR_NOT_EXIST ) { + LOG_NO("osafntfimcnd restarting due to error %s.", + saf_error(rc)); + _exit(EXIT_FAILURE); + } + else + { + osafassert(0); + } return 0; /* Dummy */ }
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
