diff --git a/app/tasks.py b/app/tasks.py index c771426496acbd77bd2d869919a3566da1630b5e..86ce96c3c00d249768fc9dca1dc33251cd064cc7 100644 --- a/app/tasks.py +++ b/app/tasks.py @@ -170,12 +170,11 @@ def create_ioc_repository(project_name): "accept": "application/json", "private-token": os.environ.get("GL_ACCESS_TOKEN"), } - # The repository path can't contain "." data = { "namespace_id": current_app.config["IOC_REPOSITORY_GROUP_ID"], "visibility": current_app.config["IOC_REPOSITORY_VISIBILITY"], "name": project_name, - "path": project_name.lower().replace(".", "_"), + "path": project_name, } response = requests.post(api_url + "/projects", headers=headers, json=data) try: