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

fix: add required persistent attribute when using ram class storage #83

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

Redm4x
Copy link
Contributor

@Redm4x Redm4x commented Apr 23, 2024

Currently when using storage with class "ram", the persistent attribute must be set to false. This change make sure to add the persistent attribute if it is missing.

akash-network/console#147

@Redm4x Redm4x changed the title fix: Add required persistent attribute when using ram class storage fix: add required persistent attribute when using ram class storage Apr 23, 2024
@Redm4x Redm4x force-pushed the bugfixes/fix-ram-storage-persistent-attribute branch from c615ddf to 8c895ea Compare April 23, 2024 13:53
src/sdl/index.ts Outdated
@@ -252,6 +252,20 @@ export class SDL {
);
}

serviceResourceStorageAttributes(attributes?: Record<string, any>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a type in ./types which is the same however would simplify things when we get to refactoring

Suggested change
serviceResourceStorageAttributes(attributes?: Record<string, any>) {
serviceResourceStorageAttributes(attributes?: v2StorageAttributes) {

@Redm4x Redm4x force-pushed the bugfixes/fix-ram-storage-persistent-attribute branch from 8c895ea to 6e96df3 Compare April 23, 2024 17:15
@Redm4x Redm4x merged commit edd205b into main Apr 29, 2024
3 checks passed
@Redm4x Redm4x deleted the bugfixes/fix-ram-storage-persistent-attribute branch April 29, 2024 14:01
Copy link

🎉 This PR is included in version 0.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants