left note about deleting remote dir on remove jobs
This commit is contained in:
parent
420b230978
commit
f77763887c
|
@ -87,7 +87,9 @@
|
|||
[jobid (s/param request :jobid)
|
||||
jobfound (db/query @ring/jobs {:jobid jobid})
|
||||
r_rmjob (db/delete! @ring/jobs jobid)
|
||||
r_sync (job/sync_jobs config "-d" jobid)]
|
||||
r_sync (job/sync_jobs config "-d" jobid)
|
||||
;; TODO: rm -rf the jobdir created via ssh in jobs/add
|
||||
]
|
||||
(s/notify (str "Job removed :: " jobid) "is-primary")
|
||||
(f/when-failed [e]
|
||||
(s/error "Failure removing job" e))))
|
||||
|
|
Loading…
Reference in New Issue