devabhishekpal commented on code in PR #9705:
URL: https://github.com/apache/ozone/pull/9705#discussion_r2772476103


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/capacity/capacity.tsx:
##########
@@ -61,7 +61,12 @@ const Capacity: React.FC<object> = () => {
     CONSTANTS.DEFAULT_CAPACITY_UTILIZATION,
     {
       retryAttempts: 2,
-      onError: (error) => showDataFetchError(error)
+      onError: (error) => showDataFetchError(error),
+      onSuccess: (data) => {
+        console.log('Storage Distribution API Response:', data);
+        console.log('usedSpaceBreakdown:', data.usedSpaceBreakdown);
+        console.log('openKeyBytes:', data.usedSpaceBreakdown?.openKeyBytes);
+      }

Review Comment:
   Is the console.log() required here?
   I think we can remove it if it was used for testing out changes



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to