lib/punchblock/component/component_node.rb in punchblock-1.6.1 vs lib/punchblock/component/component_node.rb in punchblock-1.7.0
- old
+ new
@@ -47,9 +47,10 @@
@complete_event_resource.resource timeout
end
def complete_event=(other)
return if @complete_event_resource.set_yet?
+ client.delete_component_registration self if client
@complete_event_resource.resource = other
complete!
end
##