From f0d90d233d4094f7927fa46df6696a94174912cc Mon Sep 17 00:00:00 2001 From: TomTirapani Date: Mon, 6 Jan 2025 13:27:13 +0000 Subject: [PATCH] `runOnAllInstances` takes a `ClusterJsonRequest`, same as `runOnPrimary` and `runOnInstance` --- 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)) }