Skip to content

Commit

Permalink
Fix record value Clone method
Browse files Browse the repository at this point in the history
  • Loading branch information
tjerman committed Feb 22, 2022
1 parent 95065f8 commit 6be0242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/types/record_value.go
Expand Up @@ -89,7 +89,7 @@ func (v RecordValue) Cast(f *ModuleField) (interface{}, error) {
}

func (set RecordValueSet) Clone() (vv RecordValueSet) {
vv = make(RecordValueSet, len(vv))
vv = make(RecordValueSet, len(set))
for i := range set {
vv[i] = set[i].Clone()
}
Expand Down

0 comments on commit 6be0242

Please sign in to comment.