Skip to content

Commit

Permalink
ISPN-6188 Unwrap task parameters to Strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristantarrant committed Feb 10, 2016
1 parent c0ede9d commit c0f7fb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ protected ModelNode invokeCommand(EmbeddedCacheManager cacheManager, OperationCo
}
ModelNode parameters = CacheContainerResource.TASK_PARAMETERS.resolveModelAttribute(context, operation);
if (parameters.isDefined()) {
parameters.asPropertyList().forEach(property -> taskContext.addParameter(property.getName(), property.getValue()));
parameters.asPropertyList().forEach(property -> taskContext.addParameter(property.getName(), property.getValue().asString()));
}
CompletableFuture<Object> taskFuture = taskManager.runTask(taskName, taskContext);
if(taskAsync) {
Expand Down

0 comments on commit c0f7fb1

Please sign in to comment.