Skip to content

Commit c2fb0be

Browse files
committed
fix null artifact
1 parent 13f81d0 commit c2fb0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private void migrateArtifacts() {
120120

121121
private void migrateArtifactsToGitlab(Engagement engagement) {
122122
List<Artifact> artifacts = engagement.getArtifacts() == null ? Collections.emptyList() : engagement.getArtifacts();
123-
String content = json.toJson(engagement.getArtifacts());
123+
String content = json.toJson(artifacts);
124124
migrateToGitlab(engagement, content, ARTIFACT_JSON, artifacts.size());
125125

126126
}

0 commit comments

Comments
 (0)