Hi Hung,

Reviewed the patch.
Ack from me.

Thanks,
Zoran

-----Original Message-----
From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] 
Sent: den 12 oktober 2016 05:02
To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; 
reddy.neelaka...@oracle.com
Cc: opensaf-devel@lists.sourceforge.net
Subject: [PATCH 1 of 1] imm: Return error string when object is being created 
in another CCB [#2111]

 osaf/services/saf/immsv/immnd/ImmModel.cc |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Return error string when object is being created in another CCB.

diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc 
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -8079,6 +8079,7 @@ SaAisErrorT ImmModel::ccbObjectCreate(Im
                 TRACE_7("ERR_EXIST: object '%s' is already registered "
                     "for creation in a ccb, but not applied yet",
                     objectName.c_str());
+                setCcbErrorString(ccb, "IMM: ERR_EXIST: object is already 
registered for creation in a ccb");
             }
         } else {
             TRACE_7("ERR_EXIST: object '%s' exists", objectName.c_str());

------------------------------------------------------------------------------
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
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to