-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[inv test] Do not run gofmt unless fail-on-fmt is set #9631
Conversation
It seems that |
So that means there are ill-formatted files and the |
I think it's because |
👍 that would make sense because e.g. this one seems correct: datadog-agent/pkg/util/ecs/metadata/doc.go Lines 6 to 20 in 6552cea
at least when compared with the multi-line example here, but |
After looking into it a bit more, my guess is that this is related to golang/go#41197 because of how |
This is not easy to fix, I though they added a new field ( |
3c980ef
to
3bcdb67
Compare
Closing since we actually need |
What does this PR do?
Do not run
gofmt
as part of the linting stage of thetest
invoke task unless we want formatting errors to fail the test (ie:--fail-on-fmt
is passed in).Motivation
I don't think it's any useful.