提交 f79f60e3 编写于 作者: T thurka

6672135: setInterval() for local MonitoredHost and local MonitoredVm does not work

Summary: super.setInterval() invoked with correct value
Reviewed-by: swamyv
上级 4bc36777
...@@ -124,7 +124,7 @@ public class LocalMonitoredVm extends AbstractMonitoredVm { ...@@ -124,7 +124,7 @@ public class LocalMonitoredVm extends AbstractMonitoredVm {
} }
int oldInterval = interval; int oldInterval = interval;
super.setInterval(interval); super.setInterval(newInterval);
if (task != null) { if (task != null) {
task.cancel(); task.cancel();
......
...@@ -130,7 +130,7 @@ public class MonitoredHostProvider extends MonitoredHost { ...@@ -130,7 +130,7 @@ public class MonitoredHostProvider extends MonitoredHost {
} }
int oldInterval = interval; int oldInterval = interval;
super.setInterval(interval); super.setInterval(newInterval);
if (task != null) { if (task != null) {
task.cancel(); task.cancel();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册