Skip to content

fix: Fix an issue where the website monitoring directory was not comp… - #13492

Merged
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@agent
Aug 6, 2026
Merged

fix: Fix an issue where the website monitoring directory was not comp…#13492
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@agent

Conversation

@zhengkunwang223

Copy link
Copy Markdown
Member

…letely removed when deleting a website.

Copilot AI lite review requested due to automatic review settings August 6, 2026 03:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the website deletion flow to ensure WAF-related website data directories (including monitoring-related paths) are fully removed when a website is deleted.

Changes:

  • Expands WAF cleanup in delWafConfig to delete multiple per-website data directories under 1pwaf/data.
  • Removes the previous single-path conditional deletion and replaces it with a unified directory cleanup loop.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread agent/app/service/website_utils.go
@wanghe-fit2cloud
wanghe-fit2cloud merged commit c38d741 into dev-v2 Aug 6, 2026
4 checks passed
@wanghe-fit2cloud
wanghe-fit2cloud deleted the pr@dev-v2@agent branch August 6, 2026 05:52
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.

3 participants