diff --git a/controllers/hosts.go b/controllers/hosts.go index dbdaac66..6d10a6f1 100644 --- a/controllers/hosts.go +++ b/controllers/hosts.go @@ -254,7 +254,7 @@ func hostUpdateFallback(w http.ResponseWriter, r *http.Request) { return } case models.UpdateMetrics: - // mq.UpdateMetricsFallBack(hostUpdate.Node.ID.String(), hostUpdate.NewMetrics) + mq.UpdateMetricsFallBack(hostUpdate.Node.ID.String(), hostUpdate.NewMetrics) } logic.ReturnSuccessResponse(w, r, "updated host data")