This commit is contained in:
+2
-1
@@ -110,7 +110,7 @@ func main() {
|
||||
if graphPath == "" {
|
||||
graphPath = "/etc/hellreign/services.yaml"
|
||||
}
|
||||
graphHandlers := handlers.NewGraphHandlers(graphPath)
|
||||
graphHandlers := handlers.NewGraphHandlers(graphPath, coll)
|
||||
|
||||
agents := handlers.NewAgentsGroup(h, coll)
|
||||
auth := handlers.AuthGroup{Handlers: h}
|
||||
@@ -226,6 +226,7 @@ func main() {
|
||||
graphGroup.PUT("", graphHandlers.UpdateYAML)
|
||||
graphGroup.GET("/order", graphHandlers.StartupOrder)
|
||||
graphGroup.GET("/cycle", graphHandlers.CycleCheck)
|
||||
graphGroup.GET("/failure", graphHandlers.GetFailureRootCause)
|
||||
}
|
||||
|
||||
// Agent registration
|
||||
|
||||
Reference in New Issue
Block a user