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

Update MIGRATION_GUIDE_08.md #1393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update MIGRATION_GUIDE_08.md #1393

wants to merge 1 commit into from

Conversation

jpadie
Copy link
Contributor

@jpadie jpadie commented Nov 13, 2024

replace factoryReset and destroy with erase and delete

replace factoryReset and destroy with erase and delete
Copy link

Review changes with  SemanticDiff

Copy link
Collaborator

@Apollon77 Apollon77 left a comment

Choose a reason for hiding this comment

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

Thank you

- **`factoryReset()`**: This factory resets the device. If started it is stopped and restarted afterward.
- **`destroy()`**: This destroys the node, taking it offline and removing it from the environment workers-
- **`erase()`**: This factory resets the device. If started it is stopped and restarted afterward.
- **`delete()`**: This destroys the node, taking it offline and removing it from the environment workers-
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this not be "cancel"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there is a third method called cancel(). it's already in the docs.

cancel leaves the structure intact according to the docs.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ahh ok I got confused.

delete is "Erase all persisted data and destroy the node." ... so it does erase() and then close()

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

Successfully merging this pull request may close these issues.

2 participants