Skip to content

Commit

Permalink
Update SchemaRegistryServiceImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nikam14 authored Sep 25, 2024
1 parent c30ec3d commit d7fa608
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public CompletableFuture<SchemaAndMetadata> getSchema(String schemaId, SchemaVer
.thenApply(Functions::schemaInfoToSchema)
.thenApply(schema -> new SchemaAndMetadata(schemaId, schema, stored.version))
.thenApply((schema) -> {
if(version == SchemaVersion.Latest){
if (version == SchemaVersion.Latest) {
if (schema != null && schema.schema.isDeleted()) {
return null;
} else {
Expand Down

0 comments on commit d7fa608

Please sign in to comment.