mirror of
https://github.com/apache/druid.git
synced 2025-02-15 14:34:57 +00:00
Merge pull request #2379 from metamx/fix2378
Allow ScalingStats to be null
This commit is contained in:
commit
13ff87fd12
@ -351,7 +351,7 @@ public class RemoteTaskRunner implements TaskRunner, TaskLogStreamer
|
||||
@Override
|
||||
public Optional<ScalingStats> getScalingStats()
|
||||
{
|
||||
return Optional.of(resourceManagement.getStats());
|
||||
return Optional.fromNullable(resourceManagement.getStats());
|
||||
}
|
||||
|
||||
public ZkWorker findWorkerRunningTask(String taskId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user