jyotirmoy-gh opened a new pull request, #7581:
URL: https://github.com/apache/ozone/pull/7581

   ## What changes were proposed in this pull request?
   Change the bucket-name for bucket info/ls for linked buckets from 
_bucketName_ to _name_, to keep it consistent with source buckets info/ls output
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11926
   
   ## How was this patch tested?
   
   Tested manually on docker -
   ```
   bash-5.1$ ozone sh volume create vol1
   bash-5.1$ ozone sh bucket create vol1/buck1
   bash-5.1$ ozone sh bucket link vol1/buck1 vol1/linkbuck1
   bash-5.1$ ozone sh bucket ls vol1
   [ {
     "metadata" : { },
     "volumeName" : "vol1",
     "name" : "buck1",
     "storageType" : "DISK",
     "versioning" : false,
     "listCacheSize" : 1000,
     "usedBytes" : 0,
     "usedNamespace" : 0,
     "creationTime" : "2024-12-16T05:18:18.730Z",
     "modificationTime" : "2024-12-16T05:18:18.730Z",
     "sourcePathExist" : true,
     "quotaInBytes" : -1,
     "quotaInNamespace" : -1,
     "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
     "owner" : "hadoop",
     "link" : false
   }, {
     "volumeName" : "vol1",
     "name" : "linkbuck1",
     "sourceVolume" : "vol1",
     "sourceBucket" : "buck1",
     "creationTime" : "2024-12-16T05:18:30.212Z",
     "modificationTime" : "2024-12-16T05:18:30.212Z",
     "owner" : "hadoop",
     "link" : true
   } ]
   bash-5.1$ ozone sh bucket info vol1/linkbuck1
   {
     "volumeName" : "vol1",
     "name" : "linkbuck1",
     "sourceVolume" : "vol1",
     "sourceBucket" : "buck1",
     "creationTime" : "2024-12-16T05:18:30.212Z",
     "modificationTime" : "2024-12-16T05:18:30.212Z",
     "owner" : "hadoop",
     "link" : true
   }
   ```
   


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