Add ending forward slash in the gitlab v1 container registry API urls
🔥 Problem
In rails, we currently have a client (gitlab_api_client.rb
) that provides functions to call these endpoints on the Container Registry:
- https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs-gitlab/api.md#compliance-check
- https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs-gitlab/api.md#import-repository
- https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs-gitlab/api.md#get-repository-import-status
During their support implementation, we missed the fact that all urls must end with a /
.
Related: #351864 (closed)
🚒 Solution
- Update the client to add the ending forward slash.