Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the examples target info messaging #1676

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 8, 2021

The echo for the target was copied from other targets that use dir as an iteration variable which is not what this target uses. That means that the empty variable dir is unexpanded and the unhelpful message of "build /..." is echoed. This updates the iteration variable to match other targets and fixes the info messaging.

Verified locally:

$ make examples
go build ./example/jaeger/...
go build ./example/namedtracer/...
go build ./example/opencensus/...
go build ./example/otel-collector/...
go build ./example/prom-collector/...
go build ./example/prometheus/...
go build ./example/zipkin/...

The echo for the target was copied from other targets that use `dir` as
an iteration variable which is not what this target uses. That means
that the empty variable `dir` is unexpanded and the unhelpful message of
"build /..." is echoed. This updates the iteration variable to match
other targets and fixes the info messaging.
@MrAlias MrAlias added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 8, 2021
@codecov
Copy link

codecov bot commented Mar 8, 2021

Codecov Report

Merging #1676 (0e92e49) into main (a3aa9fd) will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1676   +/-   ##
=====================================
  Coverage   77.1%   77.1%           
=====================================
  Files        128     128           
  Lines       6735    6735           
=====================================
+ Hits        5196    5198    +2     
+ Misses      1288    1286    -2     
  Partials     251     251           
Impacted Files Coverage Δ
exporters/otlp/otlpgrpc/connection.go 88.7% <0.0%> (+1.8%) ⬆️

@MrAlias
Copy link
Contributor Author

MrAlias commented Mar 8, 2021

Going to merge as this is a small bug fix in the build tooling

@MrAlias MrAlias merged commit 76aa924 into open-telemetry:main Mar 8, 2021
@MrAlias MrAlias deleted the makefile-examples branch March 8, 2021 19:59
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants