@@ -216,6 +216,7 @@ func pull(w http.ResponseWriter, r *http.Request) {
hu := hostactions.GetAction(hostID)
if hu != nil {
+ response.Action = models.SignalHost
response.Signal = hu.Signal
}
@@ -227,6 +227,7 @@ type HostPull struct {
DefaultGwIp net.IP `json:"default_gw_ip"`
IsInternetGw bool `json:"is_inet_gw"`
EndpointDetection bool `json:"endpoint_detection"`
+ Action HostMqAction `json:"action"`
Signal Signal `json:"signal"`