Update golangci/golangci-lint to v1.56.2

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2024-12-13 07:55:18 -05:00
parent b79c5f652d
commit 84e6594e9b
25 changed files with 854 additions and 746 deletions

View File

@@ -82,7 +82,7 @@ type KRMFunctionVersion struct {
type KRMFunctionValidation struct {
// OpenAPIV3Schema is the OpenAPI v3 schema for an instance of the KRM function.
OpenAPIV3Schema *spec.Schema `yaml:"openAPIV3Schema,omitempty" json:"openAPIV3Schema,omitempty"` //nolint: tagliatelle
OpenAPIV3Schema *spec.Schema `yaml:"openAPIV3Schema,omitempty" json:"openAPIV3Schema,omitempty"` //nolint:tagalign,tagliatelle
}
type KRMFunctionNames struct {

View File

@@ -713,8 +713,8 @@ func (a schemaProviderOnlyTest) Schema() (*spec.Schema, error) {
}
type schemaProviderOnlyTest struct {
Metadata Metadata `yaml:"metadata" json:"metadata"`
Spec v1alpha1JavaSpringBootSpec `yaml:"spec" json:"spec"`
Metadata Metadata `yaml:"metadata" json:"metadata"` //nolint:tagalign
Spec v1alpha1JavaSpringBootSpec `yaml:"spec" json:"spec"` //nolint:tagalign
}
func TestLoadFunctionConfig(t *testing.T) {