This is an automated email from the ASF dual-hosted git repository.
devesh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 3fb57c1695 HDDS-12037. Removing unit from quota namespace (#8148)
3fb57c1695 is described below
commit 3fb57c16956fd851f973ad64384f936568f8edb1
Author: Priyesh Karatha <[email protected]>
AuthorDate: Fri Apr 4 11:30:40 2025 +0530
HDDS-12037. Removing unit from quota namespace (#8148)
---
.../recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx | 4 ++--
.../webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx
index b5dc002c1f..609b768aec 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx
@@ -201,7 +201,7 @@ const DUMetadata: React.FC<MetadataProps> = ({
if (objectInfo?.quotaInNamespace !== undefined &&
objectInfo?.quotaInNamespace !== -1) {
data.push({
key: 'Quota In Namespace',
- value: byteToSize(objectInfo.quotaInNamespace, 3)
+ value: objectInfo.quotaInNamespace
});
}
@@ -380,4 +380,4 @@ const DUMetadata: React.FC<MetadataProps> = ({
);
}
-export default DUMetadata;
\ No newline at end of file
+export default DUMetadata;
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx
index 43cc7f69e3..19f4972c66 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx
@@ -428,7 +428,7 @@ export class DiskUsage extends
React.Component<Record<string, object>, IDUState>
if (summaryResponse.objectInfo?.quotaInNamespace !== undefined &&
summaryResponse.objectInfo?.quotaInNamespace !== -1) {
keys.push('Quota In Namespace');
- values.push(byteToSize(summaryResponse.objectInfo.quotaInNamespace,
3));
+ values.push(summaryResponse.objectInfo.quotaInNamespace);
}
if (summaryResponse.objectInfo?.replicationConfig?.replicationFactor
!== undefined &&
summaryResponse.objectInfo?.replicationConfig?.replicationFactor !== -1) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]