Class: NodesHealthcheckController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- NodesHealthcheckController
- Defined in:
- app/controllers/nodes_healthcheck_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 7 8 9 |
# File 'app/controllers/nodes_healthcheck_controller.rb', line 4 def index render json: { status: status, failed_nodes: failed_nodes.map { |node| NodeHealthcheckSerializer.new(node) } } end |