Skip to content

Conversation

v0lkan
Copy link
Collaborator

@v0lkan v0lkan commented Sep 3, 2024

Finalized pending ADRs + security enhancements

Signed-off-by: Volkan Özçelik <volkan.ozcelik@broadcom.com>
@v0lkan v0lkan self-assigned this Sep 3, 2024
@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
Collaborator 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
Collaborator 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
Collaborator 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