summaryrefslogtreecommitdiffstats
path: root/feature-server-pool/src
diff options
context:
space:
mode:
Diffstat (limited to 'feature-server-pool/src')
-rw-r--r--feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java2
-rw-r--r--feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/TargetLock.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
index bf3af4a8..5044b3e9 100644
--- a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
+++ b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
@@ -874,7 +874,7 @@ public class Bucket {
|| thisServer == secondaryBackup));
// invoke 'TargetLock' directly
- TargetLock.auditBucket(this, isOwner, isBackup);
+ TargetLock.auditBucket(this, isOwner);
for (ServerPoolApi feature : ServerPoolApi.impl.getList()) {
feature.auditBucket(this, isOwner, isBackup);
}
diff --git a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/TargetLock.java b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/TargetLock.java
index dee03a1b..c7de4c43 100644
--- a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/TargetLock.java
+++ b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/TargetLock.java
@@ -660,9 +660,8 @@ public class TargetLock implements Lock, Serializable {
*
* @param bucket the bucket to audit
* @param owner 'true' if the current host owns the bucket
- * @param backup 'true' if the current host is a backup for the bucket
*/
- static void auditBucket(Bucket bucket, boolean isOwner, boolean isBackup) {
+ static void auditBucket(Bucket bucket, boolean isOwner) {
if (!isOwner) {
// we should not have any 'TargetLock' adjuncts
if (bucket.removeAdjunct(LocalLocks.class) != null) {