fix linter errors

This commit is contained in:
Kristina Durivage
2025-12-11 13:39:17 -06:00
parent c0147297b7
commit 0ea1b197fd
+2 -2
View File
@@ -89,7 +89,7 @@ func ToSpecConfig(orig CorrelationConfig) (*correlationsV0.CorrelationConfigSpec
return nil, err
}
if len(out.Target) == 0 {
out.Target = map[string]any{}
out.Target = map[string]any{}
}
return out, err
}
@@ -105,7 +105,7 @@ func ToConfig(orig correlationsV0.CorrelationConfigSpec) (*CorrelationConfig, er
return nil, err
}
if len(out.Target) == 0 {
out.Target = map[string]any{}
out.Target = map[string]any{}
}
return out, err
}