Skip to content

Commit

Permalink
bugfix delete monitor error after monitor canceled (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangZixuan1994 authored Dec 27, 2023
1 parent 6eda3f2 commit 8fc5849
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ public void cancelManageMonitors(HashSet<Long> ids) {
if (!managedMonitors.isEmpty()) {
for (Monitor monitor : managedMonitors) {
collectJobScheduling.cancelAsyncCollectJob(monitor.getJobId());
monitor.setJobId(null);
}
monitorDao.saveAll(managedMonitors);
}
Expand Down

0 comments on commit 8fc5849

Please sign in to comment.