Browse Source

uncomment hostfallback metrics handler

abhishek9686 1 year ago
parent
commit
91e219f9e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/hosts.go

+ 1 - 1
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")