Skip to content

Commit

Permalink
Merge pull request clusterpedia-io#679 from Iceber/fix_storageconfig_…
Browse files Browse the repository at this point in the history
…factory

fix the memory version returned by storageconfig factory
  • Loading branch information
Iceber authored Jun 19, 2024
2 parents 83cb0f0 + 665a2fe commit 4056ee4
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 4056ee4

Please sign in to comment.