Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
  • Loading branch information
Arpit-Bandejiya committed Jul 9, 2024
1 parent 856fb51 commit 5155b5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public AbstractRemoteWritableBlobEntity(
this.namedXContentRegistry = namedXContentRegistry;
}

public AbstractRemoteWritableBlobEntity(final String clusterUUID, final Compressor compressor) {
this(clusterUUID, compressor, null);
}

public abstract BlobPathParameters getBlobPathParameters();

public abstract String getType();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public RemoteIndexRoutingTable(
long term,
long version
) {
super(clusterUUID, compressor, null);
super(clusterUUID, compressor);
this.index = indexRoutingTable.getIndex();
this.indexRoutingTable = indexRoutingTable;
this.term = term;
Expand All @@ -61,7 +61,7 @@ public RemoteIndexRoutingTable(
* @param compressor Compressor object
*/
public RemoteIndexRoutingTable(String blobName, String clusterUUID, Compressor compressor) {
super(clusterUUID, compressor, null);
super(clusterUUID, compressor);
this.index = null;
this.term = -1;
this.version = -1;
Expand Down

0 comments on commit 5155b5c

Please sign in to comment.