Commit 344a6372 authored by Caleb Weeks's avatar Caleb Weeks

wrapping and fixing deactivations

parent c99080ac
......@@ -386,7 +386,11 @@ module.exports = function restubFromBlQuery(params, cb){
// actually add our params to the queue for processing
_.each(deactivations, deactivation => {
addPostJob("/bin/replicate.json", {path: path, cmd: 'deactivate'});
if (!_.includes(deactivation, "jcr:content")){
addPostJob("/bin/replicate.json", {path: deactivation, cmd: 'deactivate'});
log.error("Bad path replication requested from stub", deactivation);
_.each(throttledRequests, (throttled)=>{
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment