Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit de30f40

Browse files
committed
fix: precommit issues
1 parent 25d0c9c commit de30f40

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

api/variables/variables.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 D2iQ, Inc. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package variables
25

36
import (
@@ -16,6 +19,7 @@ func UnmarshalRuntimeVariable[T any](runtimeVariable *runtimehooksv1.Variable, o
1619
return nil
1720
}
1821

22+
//nolint:gocritic // no need for named results
1923
func GetRuntimhookVariableByName(
2024
name string,
2125
variables []runtimehooksv1.Variable,

pkg/handlers/generic/validation/handlers.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 D2iQ, Inc. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package validation
25

36
import (

pkg/handlers/generic/validation/helm/handler.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 D2iQ, Inc. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package helm
25

36
import (

0 commit comments

Comments
 (0)