- Add HandleNotification in case of local environment
authorjw_wonny.cha <jw_wonny.cha@samsung.com>
Tue, 2 Apr 2019 10:06:57 +0000 (19:06 +0900)
committerjw_wonny.cha <jw_wonny.cha@samsung.com>
Tue, 2 Apr 2019 10:06:57 +0000 (19:06 +0900)
src/servicemgr/service_execution.go

index b0a6e24ae9bb9afe80436da34e96598e9e47d0da..b3db3916c118e52f803b2056f778f2596855d346 100644 (file)
@@ -86,7 +86,7 @@ func (p Service) notifyServiceStatus(status string) (err error) {
        reqbytes, _ := json.Marshal(statusNotificationRequest)
 
        if strings.Compare(p.notificationTargetURL, ConstLocalTarget) == 0 {
-
+               HandleNoti(statusNotificationRequest)
        } else {
                targetURL := p.notificationTargetURL + ConstServiceStatusNotiURI + strconv.FormatUint(p.serviceID, 10)
                _, err = sendPostJSONMsg(targetURL, reqbytes)