mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
misc: update golangci-lint related changes
This commit is contained in:
parent
dfeeb788ec
commit
cfaba0b1c3
@ -4,11 +4,11 @@ run:
|
||||
- integration
|
||||
- e2e
|
||||
modules-download-mode: readonly
|
||||
skip-dirs:
|
||||
- 3rdparty/node-maintenance-operator
|
||||
|
||||
output:
|
||||
format: tab
|
||||
formats:
|
||||
- format: tab
|
||||
path: stdout
|
||||
sort-results: true
|
||||
|
||||
linters:
|
||||
@ -38,6 +38,8 @@ linters:
|
||||
issues:
|
||||
max-issues-per-linter: 0
|
||||
max-same-issues: 20
|
||||
exclude-dirs:
|
||||
- 3rdparty/node-maintenance-operator
|
||||
include:
|
||||
- EXC0012
|
||||
- EXC0014
|
||||
|
@ -61,7 +61,7 @@ func runMeasurementsUpload(cmd *cobra.Command, _ []string) error {
|
||||
}
|
||||
defer func() {
|
||||
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.
|
||||
type Validator struct {
|
||||
// Embed variant to identify the Validator using varaint.OID().
|
||||
// Embed variant to identify the Validator using variant.OID().
|
||||
variant.AWSSEVSNP
|
||||
// Embed validator to implement Validate method for aTLS handshake.
|
||||
*vtpm.Validator
|
||||
|
Loading…
Reference in New Issue
Block a user