mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-06 05:39:08 -04:00
misc: update golangci-lint related changes
This commit is contained in:
parent
dfeeb788ec
commit
cfaba0b1c3
3 changed files with 7 additions and 5 deletions
|
@ -4,11 +4,11 @@ run:
|
||||||
- integration
|
- integration
|
||||||
- e2e
|
- e2e
|
||||||
modules-download-mode: readonly
|
modules-download-mode: readonly
|
||||||
skip-dirs:
|
|
||||||
- 3rdparty/node-maintenance-operator
|
|
||||||
|
|
||||||
output:
|
output:
|
||||||
format: tab
|
formats:
|
||||||
|
- format: tab
|
||||||
|
path: stdout
|
||||||
sort-results: true
|
sort-results: true
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
|
@ -38,6 +38,8 @@ linters:
|
||||||
issues:
|
issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 20
|
max-same-issues: 20
|
||||||
|
exclude-dirs:
|
||||||
|
- 3rdparty/node-maintenance-operator
|
||||||
include:
|
include:
|
||||||
- EXC0012
|
- EXC0012
|
||||||
- EXC0014
|
- EXC0014
|
||||||
|
|
|
@ -61,7 +61,7 @@ func runMeasurementsUpload(cmd *cobra.Command, _ []string) error {
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
if err := uploadCClose(cmd.Context()); err != nil {
|
if err := uploadCClose(cmd.Context()); err != nil {
|
||||||
log.Error("closing upload client: %v", err)
|
log.Error("closing upload client", "error", err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ import (
|
||||||
|
|
||||||
// Validator for AWS TPM attestation.
|
// Validator for AWS TPM attestation.
|
||||||
type Validator struct {
|
type Validator struct {
|
||||||
// Embed variant to identify the Validator using varaint.OID().
|
// Embed variant to identify the Validator using variant.OID().
|
||||||
variant.AWSSEVSNP
|
variant.AWSSEVSNP
|
||||||
// Embed validator to implement Validate method for aTLS handshake.
|
// Embed validator to implement Validate method for aTLS handshake.
|
||||||
*vtpm.Validator
|
*vtpm.Validator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue