aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorTeddy Wing2018-02-07 12:56:08 +0100
committerTeddy Wing2018-02-08 11:29:31 +0100
commit871a088ccffc47e5e09272b3105dabecf10974a6 (patch)
treecc5749c0300555051eae27b5328724ae25641d6f /lib/tasks
parent6134ed98a3fe29276a17a0d79a70a8ce3e3f548b (diff)
downloadchouette-core-871a088ccffc47e5e09272b3105dabecf10974a6.tar.bz2
imports.rake(notify_parent): Use `ParentNotifier`
Replace `ParentImportNotifier` with the new generalised `ParentNotifier`. This will allow us to use the same service for parent notification of both imports and compliance check sets. Delete the `ParentImportNotifier` class and spec as these are now superseded by `ParentNotifier`. Refs #4758
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/imports.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/imports.rake b/lib/tasks/imports.rake
index 6bc84acc8..55e017e7f 100644
--- a/lib/tasks/imports.rake
+++ b/lib/tasks/imports.rake
@@ -1,6 +1,6 @@
namespace :import do
desc "Notify parent imports when children finish"
task notify_parent: :environment do
- ParentImportNotifier.notify_when_finished
+ ParentNotifier.new(Import).notify_when_finished
end
end