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

Finalized pending ADRs + security enhancements #1127

Merged
merged 3 commits into from
Sep 3, 2024
Merged

Finalized pending ADRs + security enhancements #1127

merged 3 commits into from
Sep 3, 2024

Conversation

v0lkan
Copy link
Contributor

@v0lkan v0lkan commented Sep 3, 2024

Finalized pending ADRs + security enhancements

Signed-off-by: Volkan Özçelik <volkan.ozcelik@broadcom.com>
@vmwclabot
Copy link

@v0lkan, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

}

var currentStateLock sync.RWMutex // Protects access to the CurrentState object.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

having a mutex as a member of struct was raising a go vet warning.

Signed-off-by: Volkan Özçelik <volkan.ozcelik@broadcom.com>
@vmwclabot
Copy link

@v0lkan, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

1. Use `go vet` and `govulncheck`
2. Use `go vet`, `govulncheck`, and Snyk
3. Use `go vet`, `govulncheck`, `codesweep`, and `gosec`
4. Use `go vet`, `govulncheck`, Snyk, and `golangci-lint`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the golangci-lint suggestion @gurkanguray .

@v0lkan
Copy link
Contributor Author

v0lkan commented Sep 3, 2024

Since there are code changes too, I'll run it on the build server before merging this.

@v0lkan v0lkan merged commit 58e3b44 into main Sep 3, 2024
@v0lkan v0lkan deleted the ovolkan/adrs branch September 3, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants