提交 1b9bbb2f 编写于 作者: F Fangjin Yang

remove test code

上级 9d9efadf
......@@ -231,10 +231,6 @@ public class IndexerCoordinatorResource
if (taskMasterLifecycle.getResourceManagementScheduler() == null) {
return Response.noContent().build();
}
ScalingStats foo = new ScalingStats(10);
foo.addProvisionEvent(new AutoScalingData<String>(Lists.newArrayList("boo", "doo"), Lists.newArrayList("a", "b")));
foo.addTerminateEvent(new AutoScalingData<String>(Lists.newArrayList("d", "e"), Lists.newArrayList("f", "g")));
return Response.ok(foo).build();
//return Response.ok(taskMasterLifecycle.getResourceManagementScheduler().getStats()).build();
return Response.ok(taskMasterLifecycle.getResourceManagementScheduler().getStats()).build();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册