Skip to content

Commit 4056ee4

Browse files
authored
Merge pull request #679 from Iceber/fix_storageconfig_factory
fix the memory version returned by storageconfig factory
2 parents 83cb0f0 + 665a2fe commit 4056ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/storageconfig/storageconfig_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func (g *StorageConfigFactory) NewLegacyResourceConfig(gr schema.GroupResource,
9696
if err != nil {
9797
return nil, err
9898
}
99-
memoryVersion, err := g.legacyResourceEncodingConfig.InMemoryEncodingFor(chosenStorageResource)
99+
memoryVersion, err := g.legacyResourceEncodingConfig.InMemoryEncodingFor(gr)
100100
if err != nil {
101101
return nil, err
102102
}

0 commit comments

Comments
 (0)