diff options
author | Magdalena GrodziĆska <mag.grodzinska@gmail.com> | 2020-01-12 15:05:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-12 15:05:53 +0100 |
commit | f2841b8bfe142a2d6643cfe9bb9aca99cb8f6d23 (patch) | |
tree | 0dc805555f5f63548398189d270c7f503c3ae47c /src/main/java/pl/edu/mimuw/cloudatlas/agent/modules | |
parent | 936b20454adad57eb7e0897d2090af0591910f19 (diff) | |
parent | 226f36d1de3e71a34c344d9b859216ad2de3fb16 (diff) |
Merge pull request #108 from m-chrzan/fix_attrib_send_logic
Add fix to attrib sending logic in gossip girl
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/modules')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java index dd8f0b7..0cfa527 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java @@ -158,7 +158,7 @@ public class GossipGirl extends Module { GossipGirlState state = gossipStates.get(message.getReceiverGossipId()); if (state != null) { state.gotAttributes(message); - if (state.state == GossipGirlState.State.SEND_INFO) { + if (state.state == GossipGirlState.State.SEND_INFO || state.state == GossipGirlState.State.SEND_INFO_AND_FINISH) { sendInfo(state); } UpdateAttributesMessage updateMessage = new UpdateAttributesMessage("", 0, message.getPath().toString(), message.getAttributes()); |