Unverified Commit ed0ebb6d authored by schott89's avatar schott89 Committed by GitHub
Browse files

Add name attribute to overide params (#1108)



Co-authored-by: default avatarto5671sc <tom.schott@fh-erfurt.de>
parent 5c891fe7
......@@ -239,7 +239,8 @@ public class ImportExportApi extends AbstractApi {
.withParam("packages_enabled", overrideParams.getPackagesEnabled())
.withParam("build_git_strategy", overrideParams.getBuildGitStrategy())
.withParam("build_coverage_regex", overrideParams.getBuildCoverageRegex())
.withParam("squash_option", overrideParams.getSquashOption());
.withParam("squash_option", overrideParams.getSquashOption())
.withParam("name", overrideParams.getName());
}
Response response = upload(Response.Status.CREATED, "file", exportFile, null, formData, url);
......@@ -251,7 +252,7 @@ public class ImportExportApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/import</code></pre>
*
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @return an ImportStatus instance holding information on the import status
* @throws GitLabApiException if any exception occurs
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment