Skip to content

Commit 2f5f84d

Browse files
committed
Remove the propagate parameter from the interface of cluster.js
1 parent 6be06d9 commit 2f5f84d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hub/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ var postEviction = pipeline($=>$
607607
if (name === 'root' || $ctx.username !== 'root') return response(403)
608608
if (Number.isNaN(time)) return response(400)
609609
if (cluster) {
610-
return response(cluster.updateEviction(myID, name, time, true) ? 201 : 200)
610+
return response(cluster.updateEviction(myID, name, time) ? 201 : 200)
611611
} else {
612612
return response(updateEviction(name, time, expr) ? 201 : 200)
613613
}
@@ -622,7 +622,7 @@ var deleteEviction = pipeline($=>$
622622
var name = URL.decodeComponent($params.username)
623623
if (name === 'root' || $ctx.username !== 'root') return response(403)
624624
if (cluster) {
625-
cluster.updateEviction(myID, name, null, true)
625+
cluster.updateEviction(myID, name, null)
626626
} else {
627627
updateEviction(name, null)
628628
}
@@ -879,7 +879,7 @@ var postFilesystem = pipeline($=>$
879879
}
880880
)
881881
if (cluster) {
882-
cluster.updateFiles(myID, $endpoint.id, updates, true)
882+
cluster.updateFiles(myID, $endpoint.id, updates)
883883
}
884884
return new Message({ status: 201 })
885885
}
@@ -907,7 +907,7 @@ var postACL = pipeline($=>$
907907
}
908908
)
909909
if (cluster) {
910-
cluster.updateACL(myID, username, updates, true)
910+
cluster.updateACL(myID, username, updates)
911911
}
912912
return new Message({ status: 201 })
913913
}

0 commit comments

Comments
 (0)