-
Notifications
You must be signed in to change notification settings - Fork 30
Finalized pending ADRs + security enhancements #1127
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
Conversation
Signed-off-by: Volkan Özçelik <volkan.ozcelik@broadcom.com>
@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
|
} | ||
|
||
var currentStateLock sync.RWMutex // Protects access to the CurrentState object. |
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.
having a mutex as a member of struct was raising a go vet
warning.
Signed-off-by: Volkan Özçelik <volkan.ozcelik@broadcom.com>
@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
|
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` |
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 for the golangci-lint
suggestion @gurkanguray .
Since there are code changes too, I'll run it on the build server before merging this. |
Finalized pending ADRs + security enhancements