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 macOS DNS unclean shutdown restore call on startup #2286

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

mlsmaycon
Copy link
Collaborator

Describe your changes

previously, we called the restore method from the startup when there was an unclean shutdown. But it never had the state keys to clean since they are stored in memory

this change addresses the issue by falling back to default values when restoring the host's DNS

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

previously we call the restore method from the startup when there was an unclean shutdown.
But it never had the state keys to clean since they are stored in memory

this change address the issue by falling back to defaults values when restoring host's DNS
@mlsmaycon mlsmaycon requested a review from lixmal July 18, 2024 15:09
Copy link

@mlsmaycon mlsmaycon merged commit c815ad8 into main Jul 18, 2024
22 checks passed
@mlsmaycon mlsmaycon deleted the fix/macos-dns-restore branch July 18, 2024 16:06
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