diff options
Diffstat (limited to 'app/status.go')
-rw-r--r-- | app/status.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/status.go b/app/status.go index 868e57563..9f6ad2e05 100644 --- a/app/status.go +++ b/app/status.go @@ -26,7 +26,12 @@ func AddStatusCache(status *model.Status) { AddStatusCacheSkipClusterSend(status) if einterfaces.GetClusterInterface() != nil { - einterfaces.GetClusterInterface().UpdateStatus(status) + msg := &model.ClusterMessage{ + Event: model.CLUSTER_EVENT_UPDATE_STATUS, + SendType: model.CLUSTER_SEND_BEST_EFFORT, + Data: status.ToJson(), + } + einterfaces.GetClusterInterface().SendClusterMessage(msg) } } |