Skip to content

Commit

Permalink
Use the new finagle-thrift version with flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanoskarsson committed Aug 2, 2012
1 parent 483c04f commit 1422e07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zipkin-gems/zipkin-tracer/lib/zipkin-tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def initialize(app)
end

def call(env)
id = ::Trace::TraceId.new(::Trace.generate_id, nil, ::Trace.generate_id, true)
id = ::Trace::TraceId.new(::Trace.generate_id, nil, ::Trace.generate_id, true, ::Trace::Flags::EMPTY)
::Trace.default_endpoint = ::Trace.default_endpoint.with_service_name(@service_name).with_port(@service_port)
::Trace.sample_rate=(@sample_rate)
tracing_filter(id, env) { @app.call(env) }
Expand Down
2 changes: 1 addition & 1 deletion zipkin-gems/zipkin-tracer/lib/zipkin-tracer/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
module ZipkinTracer
VERSION = "0.0.1"
VERSION = "0.1.0"
end

Binary file not shown.
2 changes: 1 addition & 1 deletion zipkin-gems/zipkin-tracer/zipkin-tracer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Gem::Specification.new do |s|
s.files = Dir.glob("{bin,lib}/**/*")
s.require_path = 'lib'

s.add_dependency "finagle-thrift", "~> 1.2.0"
s.add_dependency "finagle-thrift", "~> 1.3.0"
s.add_dependency "scribe", "~> 0.2.4"
end

0 comments on commit 1422e07

Please sign in to comment.