From 30c23449b4f3f892d4bebe1fb53a8f8da612cdb1 Mon Sep 17 00:00:00 2001 From: Tom Tirapani Date: Mon, 6 Jan 2025 15:46:14 +0000 Subject: [PATCH] `runOnAllInstances` takes a `ClusterJsonRequest`, same as `runOnPrimary` and `runOnInstance` (#433) --- grails-app/controllers/io/xh/hoist/BaseController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/io/xh/hoist/BaseController.groovy b/grails-app/controllers/io/xh/hoist/BaseController.groovy index 37067abe..074b6865 100644 --- a/grails-app/controllers/io/xh/hoist/BaseController.groovy +++ b/grails-app/controllers/io/xh/hoist/BaseController.groovy @@ -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)) }