Merge pull request #27 from RS7-EdgeComputing/EDGE-331
author현재훈/Service Innovation Lab(SR)/Engineer/삼성전자 <jaehoon.hyun@samsung.com>
Tue, 2 Apr 2019 10:51:25 +0000 (19:51 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 2 Apr 2019 10:51:25 +0000 (19:51 +0900)
LGTM

1  2 
src/servicemgr/service_execution.go

@@@ -86,10 -87,10 +87,10 @@@ func (p Service) notifyServiceStatus(st
        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)
+               _, err = httpclient.DoPost(targetURL, reqbytes)
                if err != nil {
                        log.Println(err.Error())
                }