Skip to content

Commit 77edf5e

Browse files
committed
fix uber charge. fix artifact region
1 parent a04eda4 commit 77edf5e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/com/redhat/labs/lodestar/service/MigrationService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private String migrateArtifactsToGitlab(Engagement engagement) {
247247
List<Artifact> copies = new ArrayList<>(artifacts.size());
248248
artifacts.forEach(a -> {
249249
Artifact copy = clone(a, Artifact.class);
250-
copy.setRegion(copy.getRegion());
250+
copy.setRegion(engagement.getRegion());
251251
if(copy.getCreated() == null) {
252252
copy.setCreated(engagement.getEndDate());
253253
}
@@ -257,6 +257,7 @@ private String migrateArtifactsToGitlab(Engagement engagement) {
257257
}
258258
copies.add(copy);
259259
});
260+
260261
return json.toJson(copies);
261262
}
262263

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ quarkus.log.console.json=false
1313
%test.quarkus.log.console.json=false
1414

1515
# Quarkus build properties
16-
quarkus.package.uber-jar=true
16+
quarkus.package.type=uber-jar
1717

1818
# Quarkus HTTP properties
1919
quarkus.http.cors=true

0 commit comments

Comments
 (0)