mirror of https://github.com/apache/druid.git
IndexerCoordinatorResource: Un-break null returns
This commit is contained in:
parent
ce1ef94061
commit
017278a5d5
|
@ -210,7 +210,8 @@ public class IndexerCoordinatorResource
|
|||
try {
|
||||
final T ret = taskMasterLifecycle.getTaskActionClient(holder.getTask())
|
||||
.submit(holder.getAction());
|
||||
retMap = ImmutableMap.<String, Object>of("result", ret);
|
||||
retMap = Maps.newHashMap();
|
||||
retMap.put("result", ret);
|
||||
} catch(IOException e) {
|
||||
return Response.serverError().build();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue