diff --git a/buildscripts/pre_release.sh b/buildscripts/pre_release.sh index 2382d3d68b..b5ac4bc0fe 100755 --- a/buildscripts/pre_release.sh +++ b/buildscripts/pre_release.sh @@ -48,7 +48,7 @@ if [ ! -f $changelog_file ]; then exit 1 fi -if [ ! grep -q "^\#\# \[Unreleased\]$" $changelog_file ]; then +if ! grep -q "^\#\# \[Unreleased\]$" "$changelog_file" ; then echo "Error: $changelog_file doesn't contain Unreleased information. Please update the file with changes and run this script again." exit 1 fi diff --git a/examples/http/tracer_common.h b/examples/http/tracer_common.h index f4d1402f24..0b74d2ff8e 100644 --- a/examples/http/tracer_common.h +++ b/examples/http/tracer_common.h @@ -26,7 +26,7 @@ template class HttpTextMapCarrier : public opentelemetry::context::propagation::TextMapCarrier { public: - HttpTextMapCarrier(T &headers) : headers_(headers) {} + HttpTextMapCarrier(T &headers) : headers_(headers) {} HttpTextMapCarrier() = default; virtual opentelemetry::nostd::string_view Get( opentelemetry::nostd::string_view key) const noexcept override