-
Notifications
You must be signed in to change notification settings - Fork 1
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: upgrade Golang and Linter #1445
Conversation
A single node development cluster (infra-pr-1445) was allocated in production infra for this PR. CI will attempt to deploy 🔌 You can connect to this cluster with:
🛠️ And pull infractl from the deployed dev infra-server with:
🚲 You can then use the dev infra instance e.g.:
Further Development☕ If you make changes, you can commit and push and CI will take care of updating the development cluster. 🚀 If you only modify configuration (chart/infra-server/configuration) or templates (chart/infra-server/{static,templates}), you can get a faster update with:
LogsLogs for the development infra depending on your @redhat.com authuser: Or:
|
d0e6981
to
cb8505a
Compare
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.
🎁 🥳
@@ -168,8 +168,6 @@ func (s *clusterImpl) List(ctx context.Context, request *v1.ClusterListRequest) | |||
// Loop over all of the workflows, and keep only the ones that match our | |||
// request criteria. | |||
for _, workflow := range workflowList.Items { | |||
workflow := workflow |
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.
were these flagged by the linting?
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.
Yes, detected by copyloopvar
. This was a long standing issue in Go and resolved in 1.22.
See https://go.dev/blog/loopvar-preview.
A little present for the holidays. I also tried to bump dependencies, but it failed e2e tests - we should do them one by one in separate PRs (or use Dependabot).