-
-
Notifications
You must be signed in to change notification settings - Fork 585
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: avoid instrumentation of project if none is loaded, fixes #5065 #5066
Conversation
Download the artifacts for this pull request:
See Testing a PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also fix the place where it uses the invalid data? pkg/ddevapp/ddevapp.go:371
Line 371 in 9b3b0d9
omitted := app.OmitContainersGlobal |
Seems like that also should have been initialized? Or is it the app
itself that doesn't exist here?
Yes, app does not exist, that's the problem here. |
Looks like it is impossible to test this build from PR. I tried my local build instead. I placed some dummy values in I use OpenSnitch to inspect my internet traffic and I see No more errors 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting to the bottom of this!
The Issue
instrumentation-opt-in
enabled #5065How This PR Solves The Issue
Avoids instrumentation of the project if none is available.
Manual Testing Instructions
Run
ddev --version
in a folder without DDEV config.Automated Testing Overview
Related Issue Link(s)
Release/Deployment Notes