projects
/
platform
/
core
/
system
/
edge-orchestration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833eb09
)
- Add HandleNotification in case of local environment
author
jw_wonny.cha
<jw_wonny.cha@samsung.com>
Tue, 2 Apr 2019 10:06:57 +0000
(19:06 +0900)
committer
jw_wonny.cha
<jw_wonny.cha@samsung.com>
Tue, 2 Apr 2019 10:06:57 +0000
(19:06 +0900)
src/servicemgr/service_execution.go
patch
|
blob
|
history
diff --git
a/src/servicemgr/service_execution.go
b/src/servicemgr/service_execution.go
index b0a6e24ae9bb9afe80436da34e96598e9e47d0da..b3db3916c118e52f803b2056f778f2596855d346 100644
(file)
--- a/
src/servicemgr/service_execution.go
+++ b/
src/servicemgr/service_execution.go
@@
-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)