Skip to content

Commit

Permalink
fix swagger descriptions for backend_monitor.go
Browse files Browse the repository at this point in the history
Signed-off-by: Dave <[email protected]>
  • Loading branch information
dave-gray101 authored Jul 18, 2024
1 parent 96dc85b commit 172cef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/http/endpoints/localai/backend_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/mudler/LocalAI/core/services"
)

// BackendMonitorEndpoint returns the backend monitoring status
// BackendMonitorEndpoint returns the status of the specified backend
// @Summary Backend monitor endpoint
// @Param request body schema.BackendMonitorRequest true "Backend statistics request"
// @Success 200 {object} proto.StatusResponse "Response"
Expand All @@ -28,7 +28,7 @@ func BackendMonitorEndpoint(bm *services.BackendMonitorService) func(c *fiber.Ct
}
}

// BackendMonitorEndpoint returns the backend monitoring status
// BackendMonitorEndpoint shuts down the specified backend
// @Summary Backend monitor endpoint
// @Param request body schema.BackendMonitorRequest true "Backend statistics request"
// @Router /backend/shutdown [post]
Expand Down

0 comments on commit 172cef1

Please sign in to comment.