This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo-updater: ignore bitbucket servers which do not support lab… (#8889)
Bitbucket Server labels were only released in version 5.13. However, we always query for the "archived" label when syncing. This leads us to failing to sync on versions before 5.13. We now handle the 404. Example error message: External service updated, but we encountered a problem while validating the external service: failed to list repos with archived label: Bitbucket API HTTP error: code=404 url="https://example-bitbucket.com/rest/api/1.0/labels/archived/labeled?REPOSITORY=&limit=1000" body="404null for uri: https://example-bitbucket.com/rest/api/1.0/labels/archived/labeled?REPOSITORY=&limit=1000"
- Loading branch information
1 parent
46c08e9
commit b3322ae
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters