Skip to content
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

Ensure golangci-lint runs on all files #406

Merged

Conversation

gibizer
Copy link
Contributor

@gibizer gibizer commented Apr 21, 2024

  • removed explicit rand.Seed call from fernet as it is deprecated. If
    Seed is not called the generator still seeded randomly at startup [1].
  • removed unused func params and import
  • ignore revive dot-imports rule on ginkgo and gomega as dot import
    there is the recommended practice
  • various small style fixes found by the linter

[1]https://pkg.go.dev/math/rand#Seed

* removed explicit rand.Seed call from fernet as it is deprecated. If
  Seed is not called the generator still seeded randomly at startup [1].
* removed unused func params and import
* ignore revive dot-imports rule on ginkgo and gomega as dot import
there is the recommended practice
* various small style fixes found by the linter

[1]https://pkg.go.dev/math/rand#Seed
@openshift-ci openshift-ci bot requested review from stuggi and viroel April 21, 2024 09:37
Copy link
Contributor

@stuggi stuggi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Apr 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gibizer, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit d4f7fd0 into openstack-k8s-operators:main Apr 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants