瀏覽代碼

uncomment hostfallback metrics handler

abhishek9686 1 年之前
父節點
當前提交
91e219f9e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")