Skip to content

Commit

Permalink
fix nil elems
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinMartinov committed Jan 14, 2025
1 parent 0575273 commit 631abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tests/diff_test/detailed_diff_primitive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func generatePrimitiveSchemaValueMakerPairs[T any](
typ schema.ValueType, elem *schema.Schema, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T,
typ schema.ValueType, elem any, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T,
) ([]diffSchemaValueMakerPair[T], []diffScenario[T]) {
valueOne := ref(val1)
valueTwo := ref(val2)
Expand Down

0 comments on commit 631abf1

Please sign in to comment.