Skip to content

Commit 847d1d7

Browse files
committed
feat(mongodb): fix lint
1 parent 148e2c0 commit 847d1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/types/map.go

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

6262
// GetMapValue returns the value for a key from a map.
6363
// returns zero value if key does not exist in map.
64-
func GetMapValue[T any](m map[string]any, key string) T {
64+
func GetMapValue[T any](m map[string]any, key string) T { //nolint: ireturn
6565
var val T
6666
valI, exists := m[key]
6767
if exists {

0 commit comments

Comments
 (0)