update golangci-lint to v2.1.5

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-05-13 16:54:43 +02:00
parent 874bb14de9
commit b606e2f6bb
34 changed files with 332 additions and 327 deletions
+1 -1
View File
@@ -936,7 +936,7 @@ func Parse(b hcl.Body, opt Opt, val any) (*ParseMeta, hcl.Diagnostics) {
}
}
if exists {
if m := oldValue.Value.MethodByName("Merge"); m.IsValid() {
if m := oldValue.MethodByName("Merge"); m.IsValid() {
m.Call([]reflect.Value{vv})
} else {
v.Elem().Field(t.idx).Index(oldValue.idx).Set(vv)