Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make store type names consistent with hubs #164

Merged
merged 2 commits into from
Dec 14, 2024
Merged

Conversation

aditiharini
Copy link
Contributor

The StoreType names in hubs don't have the STORE_TYPE prefix. Manually translate the enum to strings to match hubs.

@aditiharini aditiharini marked this pull request as ready for review December 14, 2024 03:34
@aditiharini aditiharini merged commit aa3c9d9 into main Dec 14, 2024
2 checks passed
@aditiharini aditiharini deleted the fix-store-type-names branch December 14, 2024 03:43
@@ -248,9 +248,18 @@ impl Stores {
let max_messages =
self.store_limits
.max_messages(slot.units, slot.legacy_units, store_type);
let name = match store_type {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean to do a string replace instead of enumerating manually. But not a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants