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

Fix the tutorial example. #79

Merged
merged 1 commit into from
May 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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