From a71a5b59f8ff4998092f2c209a34f02c2aaed29a Mon Sep 17 00:00:00 2001 From: David Kornel Date: Tue, 11 Jun 2024 16:30:48 +0200 Subject: [PATCH] fix Signed-off-by: David Kornel --- .../io/skodjob/testframe/MetricsCollector.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test-frame-metrics-collector/src/main/java/io/skodjob/testframe/MetricsCollector.java b/test-frame-metrics-collector/src/main/java/io/skodjob/testframe/MetricsCollector.java index d0cafca..eff4d6c 100644 --- a/test-frame-metrics-collector/src/main/java/io/skodjob/testframe/MetricsCollector.java +++ b/test-frame-metrics-collector/src/main/java/io/skodjob/testframe/MetricsCollector.java @@ -422,13 +422,13 @@ protected String collectMetrics(String metricsPodIp, String podName) * during the collection attempts and throws a corresponding specialized exception based on the last known error * state.

* - * @param timeoutDuration the maximum time in milliseconds to wait for metrics collection. - * This duration dictates how long the system should attempt to collect metrics - * before timing out. - * @throws MetricsCollectionException if the collection process fails due to any error such as no data, - * incomplete data, or an exception during the collection process. - * This exception encapsulates detailed error information, including - * the original cause of the failure when applicable. + * @param timeoutDuration the maximum time in milliseconds to wait for metrics collection. + * This duration dictates how long the system should attempt to collect metrics + * before timing out. + * @throws MetricsCollectionException if the collection process fails due to any error such as no data, + * incomplete data, or an exception during the collection process. + * This exception encapsulates detailed error information, including + * the original cause of the failure when applicable. */ public final void collectMetricsFromPods(long timeoutDuration) { final MetricsCollectionStatus status = new MetricsCollectionStatus();