-
Notifications
You must be signed in to change notification settings - Fork 175
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
go-autorest depends on contrib.go.opencensus.io/exporter/ocagent v0.3.0, which has a bug #439
Comments
In my fix for #438 my hope was to align the dependencies between the |
My current POR is to revert the changes to Gopkg.toml/Gopkg.lock, I just need to confirm this isn't going to make things worse for kubernetes. |
Hello and thank you for your reply. Unfortunately it seems contrib.go.opencensus.io/exporter/ocagent@v0.4.6 still has the same issue. I now get:
As the error output indicates they're still doing the same thing in ocagent.go: https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/blob/v0.4.6/ocagent.go#L297
|
This has been fixed in
|
Thank you very much! I hope to have a sec to try it out tomorrow but as I see you're using ocagent 0.6.0 that should indeed fix it. |
I tested our sample in Go and the issue looks fixed! |
go-autorest dependent on contrib.go.opencensus.io/exporter/ocagent v0.3.0, which has a bug
Bug Report
I'm trying to write a sample for the Bing Spellcheck service using the Azure SDK for Go.
When I run my code, I get the error:
I believe this is because go-autorest depends on contrib.go.opencensus.io/exporter/ocagent v0.3.0.
https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/blob/v0.3.0/ocagent.go, line 216, is:
contrib.go.opencensus.io/exporter/ocagent v0.3.0 in turn depends on github.com/census-instrumentation/opencensus-proto v0.2.1, which as of 20190806 is the current release.
https://github.com/census-instrumentation/opencensus-proto/blob/master/gen-go/trace/v1/trace_config.pb.go, lines 27-33, are:
So the line in ocagent.go should instead be:
Making that change in my local vendor folder fixes the issue, and indeed they've done the same thing in the current release (v0.6.0) of contrib.go.opencensus.io/exporter/ocagent - see https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/blob/master/ocagent.go line 323.
This might have some relation to issue #438.
Other information (adapted from Azure SDK for Go bug report template) follows.
.../services/compute/mgmt/2018-06-01/compute
master
,latest
,18.1.0
column output by
dep status "github.com/Azure/azure-sdk-for-go
.go version
Described above.
Expected output:
spell.go
.dep init
.go run spell.go
.Windows 10 Enterprise 18.03
Go environment described above.
Please let me know if I can provide any additional information. Thank you!
The text was updated successfully, but these errors were encountered: