From: Heewon Park Date: Fri, 2 Sep 2016 05:39:43 +0000 (+0900) Subject: Updated cloud provisioning retry logic. X-Git-Tag: 1.2.0+RC3~193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bb2b5abbed922e11a3c97c5640f07c75c00a4f2;p=platform%2Fupstream%2Fiotivity.git Updated cloud provisioning retry logic. - For mediator can retry cloud-provisioning process, when missed response packet of post. Change-Id: Id38ab1b2fe37580f590880ff8b96d28eea948a19 Signed-off-by: Heewon Park Reviewed-on: https://gerrit.iotivity.org/gerrit/11245 Tested-by: jenkins-iotivity Reviewed-by: Jihun Ha Reviewed-by: Uze Choi --- diff --git a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp index 06ba6d7..aa266fd 100755 --- a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp +++ b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp @@ -345,11 +345,6 @@ namespace OIC { ESResult result = ES_ERROR; - if (m_cloudResource != nullptr) - { - throw ESBadRequestException ("Already created"); - } - result = discoverResource(); if (result == ES_ERROR)