Skip to content

Commit

Permalink
HDDS-11926 - Rename bucket name for bucket info/ls for linked buckets (
Browse files Browse the repository at this point in the history
…#7581)

Co-authored-by: Jyotirmoy Sinha <[email protected]>
  • Loading branch information
jyotirmoy-gh and Jyotirmoy Sinha authored Dec 16, 2024
1 parent daf2f9f commit c523825
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void execute(OzoneClient client, OzoneAddress address)
*/
public static class LinkBucket {
private String volumeName;
private String bucketName;
private String name;
private String sourceVolume;
private String sourceBucket;
private Instant creationTime;
Expand All @@ -63,7 +63,7 @@ public static class LinkBucket {

LinkBucket(OzoneBucket ozoneBucket) {
this.volumeName = ozoneBucket.getVolumeName();
this.bucketName = ozoneBucket.getName();
this.name = ozoneBucket.getName();
this.sourceVolume = ozoneBucket.getSourceVolume();
this.sourceBucket = ozoneBucket.getSourceBucket();
this.creationTime = ozoneBucket.getCreationTime();
Expand All @@ -76,8 +76,8 @@ public String getVolumeName() {
return volumeName;
}

public String getBucketName() {
return bucketName;
public String getName() {
return name;
}

public String getSourceVolume() {
Expand Down

0 comments on commit c523825

Please sign in to comment.