Refresh pipeleiner cache with newly initialized Pipeliner
Change-Id: I149b450a6698fd0b0f4af719396fef83f8140549
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -304,7 +304,7 @@ public class FlowObjectiveManager implements FlowObjectiveService { | ... | @@ -304,7 +304,7 @@ public class FlowObjectiveManager implements FlowObjectiveService { |
304 | Pipeliner pipeliner = handler.behaviour(Pipeliner.class); | 304 | Pipeliner pipeliner = handler.behaviour(Pipeliner.class); |
305 | hbTime = now(); | 305 | hbTime = now(); |
306 | pipeliner.init(deviceId, context); | 306 | pipeliner.init(deviceId, context); |
307 | - pipeliners.putIfAbsent(deviceId, pipeliner); | 307 | + pipeliners.put(deviceId, pipeliner); |
308 | } | 308 | } |
309 | 309 | ||
310 | // Triggers driver setup when the local node becomes a device master. | 310 | // Triggers driver setup when the local node becomes a device master. | ... | ... |
-
Please register or login to post a comment