Skip to content

Commit

Permalink
fix error checked by pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
s1mple-child committed Jan 15, 2024
1 parent 02aadb0 commit 5ed2428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/migrate_between_gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def create_project_in_target_gitlab(gitlab_ip, group_id, project_name):
:param group_id: group id in gitlab
:param project_name: project name in gitlab
"""
gitlab_access_token = set_access_token_gitlab(source_gitlab_ip)
gitlab_access_token = set_access_token_gitlab(gitlab_ip)
requests.post('http://' + gitlab_ip + '/api/v4/projects?access_token=' + gitlab_access_token
+ '&name=' + project_name + '&namespace_id=' + str(group_id)+ '&visibility=internal')

Expand Down

0 comments on commit 5ed2428

Please sign in to comment.