Skip to content

Commit

Permalink
runOnAllInstances takes a ClusterJsonRequest, same as `runOnPrima…
Browse files Browse the repository at this point in the history
…ry` and `runOnInstance` (#433)
  • Loading branch information
TomTirapani authored Jan 6, 2025
1 parent 01722e2 commit 30c2344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grails-app/controllers/io/xh/hoist/BaseController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ abstract class BaseController implements LogSupport, IdentitySupport {
* Run a task on *all* instances.
* Renders a Map of instance name to ClusterResponse.
*/
protected void runOnAllInstances(ClusterRequest task) {
protected void runOnAllInstances(ClusterJsonRequest task) {
renderJSON(clusterService.submitToAllInstances(task))
}

Expand Down

0 comments on commit 30c2344

Please sign in to comment.