Skip to content

Commit

Permalink
fix the memory version returned by storageconfig factory
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Jun 19, 2024
1 parent 83cb0f0 commit 665a2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storageconfig/storageconfig_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (g *StorageConfigFactory) NewLegacyResourceConfig(gr schema.GroupResource,
if err != nil {
return nil, err
}
memoryVersion, err := g.legacyResourceEncodingConfig.InMemoryEncodingFor(chosenStorageResource)
memoryVersion, err := g.legacyResourceEncodingConfig.InMemoryEncodingFor(gr)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 665a2fe

Please sign in to comment.