Skip to content

Commit

Permalink
Get rid of use of old option
Browse files Browse the repository at this point in the history
  • Loading branch information
gshuflin committed Dec 4, 2019
1 parent 4d27241 commit cfd32da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/python/pants/pantsd/service/scheduler_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ def prepare_v1_graph_run_v2(self, options, options_bootstrapper):
build_id = RunTracker.global_instance().run_id
v2_ui = options.for_global_scope().v2_ui
zipkin_trace_v2 = options.for_scope('reporting').zipkin_trace_v2
stream_workunits = options.for_scope('reporting').stream_workunits
session = self._graph_helper.new_session(zipkin_trace_v2, build_id, v2_ui, should_report_workunits=stream_workunits)
session = self._graph_helper.new_session(zipkin_trace_v2, build_id, v2_ui)

if options.for_global_scope().loop:
fn = self._loop
Expand Down

0 comments on commit cfd32da

Please sign in to comment.