Mohammed Nafees hace 4 años
padre
commit
bd7d4ca2f1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      api/server/router/cluster.go

+ 2 - 2
api/server/router/cluster.go

@@ -1004,7 +1004,7 @@ func getClusterRoutes(
 		Router:   r,
 		Router:   r,
 	})
 	})
 
 
-	// GET /api/projects/{project_id}/clusters/{cluster_id}/incidents/notify_new -> cluster.NewNotifyNewIncidentHandler
+	// POST /api/projects/{project_id}/clusters/{cluster_id}/incidents/notify_new -> cluster.NewNotifyNewIncidentHandler
 	notifyNewIncidentEndpoint := factory.NewAPIEndpoint(
 	notifyNewIncidentEndpoint := factory.NewAPIEndpoint(
 		&types.APIRequestMetadata{
 		&types.APIRequestMetadata{
 			Verb:   types.APIVerbCreate,
 			Verb:   types.APIVerbCreate,
@@ -1033,7 +1033,7 @@ func getClusterRoutes(
 		Router:   r,
 		Router:   r,
 	})
 	})
 
 
-	// GET /api/projects/{project_id}/clusters/{cluster_id}/incidents/notify_resolved -> cluster.NewNotifyResolvedIncidentHandler
+	// POST /api/projects/{project_id}/clusters/{cluster_id}/incidents/notify_resolved -> cluster.NewNotifyResolvedIncidentHandler
 	notifyResolvedIncidentEndpoint := factory.NewAPIEndpoint(
 	notifyResolvedIncidentEndpoint := factory.NewAPIEndpoint(
 		&types.APIRequestMetadata{
 		&types.APIRequestMetadata{
 			Verb:   types.APIVerbCreate,
 			Verb:   types.APIVerbCreate,