No such schema message formating fix (#316)
Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
This commit is contained in:
parent
9775f0dae7
commit
21a090f102
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class SchemaRegistryService {
|
|||
.uri(cluster.getSchemaRegistry() + URL_SUBJECT_VERSIONS, schemaName)
|
||||
.retrieve()
|
||||
.onStatus(NOT_FOUND::equals,
|
||||
throwIfNotFoundStatus(formatted(NO_SUCH_SCHEMA))
|
||||
throwIfNotFoundStatus(formatted(NO_SUCH_SCHEMA, schemaName))
|
||||
).bodyToFlux(Integer.class)
|
||||
).orElse(Flux.error(ClusterNotFoundException::new));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue