diff options
Diffstat (limited to 'same/src/main')
-rw-r--r-- | same/src/main/java/com/orbekk/same/Master.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/same/src/main/java/com/orbekk/same/Master.java b/same/src/main/java/com/orbekk/same/Master.java index 90601df..678baf2 100644 --- a/same/src/main/java/com/orbekk/same/Master.java +++ b/same/src/main/java/com/orbekk/same/Master.java @@ -51,10 +51,8 @@ public class Master { @Override public void run(T unused) { - if (rpc.isOk()) { - if (rpc.failed()) { - removeParticipant(participantLocation); - } + if (rpc.failed()) { + removeParticipant(participantLocation); } } } |