Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Fix tutorial example. (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnburn authored May 7, 2018
1 parent d2e12fe commit 21f2524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions example/tutorial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ if (BUILD_MOCKTRACER AND BUILD_SHARED_LIBS)
include_directories(../../mocktracer/include)
add_executable(tutorial-example tutorial-example.cpp)
target_link_libraries(tutorial-example opentracing_mocktracer)
add_test(tutorial-example tutorial-example)
endif()
2 changes: 1 addition & 1 deletion mocktracer/include/opentracing/mocktracer/tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace mocktracer {

struct PropagationOptions {
// Specifies what key to use when injecting and extracting span context.
std::string propagation_key = "x-ot_span_context";
std::string propagation_key = "x-ot-span-context";

// If inject_error_code is non-zero, MockTracer::Inject fails with
// inject_error_code.
Expand Down

0 comments on commit 21f2524

Please sign in to comment.