jasonosullivan34 commented on code in PR #10577:
URL: https://github.com/apache/ozone/pull/10577#discussion_r3637577492


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/storageBar/storageBar.tsx:
##########
@@ -80,7 +80,7 @@ const StorageBar: React.FC<StorageReportProps> = ({
               </tr>
               <tr>
                 <td>Filesystem Reserved</td>
-                <td><strong>{size(fsReserved)}</strong></td>
+                <td><strong>{size(fsReserved as number)}</strong></td>

Review Comment:
   I took another look. From the API in recon I think all the fields in 
storageReport default to 0 so none are actually optional. For now I'll 
conditionally render the row for reserved and create a followup to clean up the 
UI once we are sure that fields can be marked required or not



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