-
Notifications
You must be signed in to change notification settings - Fork 72
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
chore(server): refactoring analyzer files to comply with resources standard #2810
Conversation
server/executor/linter_runner.go
Outdated
@@ -8,7 +8,7 @@ import ( | |||
|
|||
"github.com/kubeshop/tracetest/server/analytics" | |||
"github.com/kubeshop/tracetest/server/linter" | |||
linterResource "github.com/kubeshop/tracetest/server/linter/resource" | |||
analyzerResource "github.com/kubeshop/tracetest/server/linter/analyzer" |
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.
should this be just analyzer
? is there a reason for the alias?
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.
Good catch! I'll update it.
server/app/app.go
Outdated
@@ -24,7 +24,7 @@ import ( | |||
httpServer "github.com/kubeshop/tracetest/server/http" | |||
"github.com/kubeshop/tracetest/server/http/mappings" | |||
"github.com/kubeshop/tracetest/server/http/websocket" | |||
linterResource "github.com/kubeshop/tracetest/server/linter/resource" | |||
analyzer "github.com/kubeshop/tracetest/server/linter/analyzer" |
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.
no need to use the alias if the alias has the same name as the package. You can remove them all
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! Also updating it.
This PR updates the analyzer files to comply with the resource standard.