Ramazan Yapparov 4 سال پیش
والد
کامیت
4694ccd1bf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      kafka-ui-api/src/main/java/com/provectus/kafka/ui/cluster/service/ClusterService.java

+ 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))