diff options
| author | Teddy Wing | 2018-02-07 12:56:08 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-02-08 11:29:31 +0100 |
| commit | 871a088ccffc47e5e09272b3105dabecf10974a6 (patch) | |
| tree | cc5749c0300555051eae27b5328724ae25641d6f /lib/tasks/imports.rake | |
| parent | 6134ed98a3fe29276a17a0d79a70a8ce3e3f548b (diff) | |
| download | chouette-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/imports.rake')
| -rw-r--r-- | lib/tasks/imports.rake | 2 |
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 |
