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

feat(control): add hosts/reload to control api #11673

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

Conversation

louxiu
Copy link
Contributor

@louxiu louxiu commented Oct 23, 2024

Description

As a user, I want to resync /etc/hosts when there is an update. This pr introduces an API endpoint that allows users to manually trigger a reload。

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. doc Documentation things enhancement New feature or request labels Oct 23, 2024
@louxiu louxiu force-pushed the ctl_reload_hosts branch 2 times, most recently from d7c8580 to 52f6a8d Compare November 5, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation things enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant