Skip to content

Commit

Permalink
Fix sent version in eventLog
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCAI-mlv committed Aug 28, 2024
1 parent 4aa20bb commit 6508cf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public Mono<HttpResponse<Void>> delete(String namespace,
.map(deletedVersionIds -> {
Schema deletedSchema = subjectOptional.get();
sendEventLog(deletedSchema, ApplyStatus.deleted, deletedSchema.getSpec(), null,
version.map(v -> "").orElseGet(() -> String.valueOf(deletedVersionIds)));
version.map(v -> String.valueOf(deletedVersionIds)).orElseGet(() -> ""));
return HttpResponse.noContent();
});
});
Expand Down

0 comments on commit 6508cf6

Please sign in to comment.