remove all of the unused saved return values from attach_to_twisted
This commit is contained in:
@@ -74,8 +74,8 @@ def main():
|
|||||||
pulse = task.LoopingCall(n.report_state, FLAGS.node_name, bin_name)
|
pulse = task.LoopingCall(n.report_state, FLAGS.node_name, bin_name)
|
||||||
pulse.start(interval=FLAGS.compute_report_state_interval, now=False)
|
pulse.start(interval=FLAGS.compute_report_state_interval, now=False)
|
||||||
|
|
||||||
injected = consumer_all.attach_to_twisted()
|
consumer_all.attach_to_twisted()
|
||||||
injected = consumer_node.attach_to_twisted()
|
consumer_node.attach_to_twisted()
|
||||||
|
|
||||||
# This is the parent service that twistd will be looking for when it
|
# This is the parent service that twistd will be looking for when it
|
||||||
# parses this file, return it so that we can get it into globals below
|
# parses this file, return it so that we can get it into globals below
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ def main():
|
|||||||
pulse = task.LoopingCall(bs.report_state, FLAGS.node_name, bin_name)
|
pulse = task.LoopingCall(bs.report_state, FLAGS.node_name, bin_name)
|
||||||
pulse.start(interval=FLAGS.volume_report_state_interval, now=False)
|
pulse.start(interval=FLAGS.volume_report_state_interval, now=False)
|
||||||
|
|
||||||
injected = consumer_all.attach_to_twisted()
|
consumer_all.attach_to_twisted()
|
||||||
injected = consumer_node.attach_to_twisted()
|
consumer_node.attach_to_twisted()
|
||||||
|
|
||||||
# This is the parent service that twistd will be looking for when it
|
# This is the parent service that twistd will be looking for when it
|
||||||
# parses this file, return it so that we can get it into globals below
|
# parses this file, return it so that we can get it into globals below
|
||||||
|
|||||||
Reference in New Issue
Block a user