Skip to content

Commit 8e292fb

Browse files
committed
wip
1 parent f78adaf commit 8e292fb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

internal/datasource/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// FindExact finds the first element in 'slice' matching the condition defined by 'finder'.
1111
// It returns the first matching element and an error if either no match is found or multiple matches are found.
12-
func FindExact[T any](slice []T, finder func(T) bool, searchName string) (T, error) { //nolint
12+
func FindExact[T any](slice []T, finder func(T) bool, searchName string) (T, error) {
1313
var found T
1414

1515
var foundFlag bool

internal/provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ func Provider(config *Config) plugin.ProviderFunc {
364364
Summary: "Error checking multiple variable sources",
365365
Detail: err.Error(),
366366
})
367+
367368
return m, diags
368369
}
369370

internal/types/map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func ExpandMapStringString(data any) map[string]string {
7272

7373
// GetMapValue returns the value for a key from a map.
7474
// returns zero value if key does not exist in map.
75-
func GetMapValue[T any]( //nolint:ireturn
75+
func GetMapValue[T any](
7676
m map[string]any,
7777
key string,
7878
) T {

0 commit comments

Comments
 (0)