Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Conversation

@haydenyoung
Copy link
Member

Delete a db from the local peer.

Please let me know if anything can be better implemented and I will make the change.

Copy link
Contributor

@phillmac phillmac left a comment

Choose a reason for hiding this comment

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

The async middleware wrapper should catch any errors, so the try-catch block should be redundant

@haydenyoung
Copy link
Member Author

The async middleware wrapper should catch any errors, so the try-catch block should be redundant

Updated.

Is the db_list_remove method the most ideal way of updating the db list or should I rework the db_list to check that the db exists and trim it if it doesn't?

@phillmac
Copy link
Contributor

Seems pretty logical to me the way it is.

@phillmac phillmac merged commit f20745c into master Mar 30, 2019
@haydenyoung haydenyoung deleted the db-delete branch March 31, 2019 07:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants