Skip to content
Snippets Groups Projects
Commit 8f0f4454 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch 'docs-antons-missing-filename-import-script' into 'master'

Docs - Fix missing filename from import script

See merge request !17317
parents 59374cca 91e439ea
No related branches found
No related tags found
1 merge request!17317Docs - Fix missing filename from import script
Pipeline #83345866 failed
......@@ -137,7 +137,7 @@ from io import BytesIO
s3_file = requests.get(presigned_url)
url = 'https://gitlab.example.com/api/v4/projects/import'
files = {'file': BytesIO(s3_file.content)}
files = {'file': ('file.tar.gz', BytesIO(s3_file.content))}
data = {
"path": "example-project",
"namespace": "example-group"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment