Skip to content

Conversation

@jdknight
Copy link
Member

Before attempting to cleanup any detected legacy pages from a target Confluence instance, the builder will check to see if any unchanged documents exist (pages that did not trigger an update and we not removed from the internal legacy list), and remove them from the legacy pages list if our cache detects it was already published. However, this logic assumes we have populated a legacy pages list ahead of time, which may not have happened if we are not configured for any cleaning.

This commit adjusts the unchanged pages check to only occur if we have populated a legacy pages list to check on.

Before attempting to cleanup any detected legacy pages from a target
Confluence instance, the builder will check to see if any unchanged
documents exist (pages that did not trigger an update and we not
removed from the internal legacy list), and remove them from the
legacy pages list if our cache detects it was already published.
However, this logic assumes we have populated a legacy pages list
ahead of time, which may not have happened if we are not configured
for any cleaning.

This commit adjusts the unchanged pages check to only occur if we have
populated a legacy pages list to check on.

Signed-off-by: James Knight <james.d.knight@live.com>
@jdknight jdknight merged commit df5a3d1 into main Feb 24, 2024
@jdknight jdknight deleted the skip-unchange-pages-cache-check-when-no-cleanup branch February 24, 2024 16:12
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