diff --git a/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java b/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java index 02019cfd741..faeba844e85 100644 --- a/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java +++ b/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java @@ -111,9 +111,6 @@ public void handleCompletion(BulkRequestTarget target, Future future) { reply = getUninterruptibly(future); if (reply.getReturnCode() != 0) { target.setErrorObject(reply.getErrorObject()); - } else if (reply instanceof PinManagerPinMessage - && ((PinManagerPinMessage) reply).getLifetime() == -1L) { - target.setState(SKIPPED); } else { target.setState(State.COMPLETED); }