-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Runs make fmt
over the whole repo
#9075
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
base: main
Are you sure you want to change the base?
Conversation
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.
lgtm with some nits
@@ -17,6 +16,8 @@ import ( | |||
"go.uber.org/atomic" | |||
"gopkg.in/yaml.v2" | |||
|
|||
"github.com/grafana/loki/pkg/util/math" |
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.
hmm this one is isolated from other packages below (I'm not adding a diff suggestion for you to just apply because the order would be wrong anyway)
"github.com/opentracing/opentracing-go" | ||
otlog "github.com/opentracing/opentracing-go/log" | ||
"github.com/prometheus/client_golang/prometheus" | ||
"github.com/prometheus/client_golang/prometheus/promauto" | ||
"github.com/prometheus/common/model" | ||
"github.com/weaveworks/common/httpgrpc" | ||
|
||
"github.com/grafana/loki/pkg/util/math" |
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.
ditto: this one after dskit/tenant
package
@owen-d FYI this touches sources in the operator sub folder and it looks like we use different formatting styles |
Hey @periklis is that ok? This all comes from the
which is called by
We can exclude the operator dir from the |
I would like to skip the operator dir for now. As per now it would make backport bugs harder. I suggest the SIG operator lifts the exclude once we have applied |
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. I was hesitating to do this because I feared it would mess up git blame
. However, these are just imports.
Once this land we can simplify the make check-format
step.
Some format housekeeping