Browse Source

fixed typo

Ramazan Yapparov 4 years ago
parent
commit
4694ccd1bf

+ 1 - 1
kafka-ui-api/src/main/java/com/provectus/kafka/ui/cluster/service/ClusterService.java

@@ -201,7 +201,7 @@ public class ClusterService {
         var cluster = clustersStorage.getClusterByName(clusterName)
                 .orElseThrow(() -> new NotFoundException("No such cluster"));
         var partitions = getTopicDetails(clusterName, topicName)
-                .orElseThrow(() -> new NotFoundException("No such topcic"))
+                .orElseThrow(() -> new NotFoundException("No such topic"))
                 .getPartitions().stream()
                 .map(Partition::getPartition)
                 .map(partition -> new TopicPartition(topicName, partition))