Skip to content

Commit

Permalink
modify mock download method to let ITs pass
Browse files Browse the repository at this point in the history
Signed-off-by: bansvaru <[email protected]>
  • Loading branch information
linuxpi committed Oct 18, 2023
1 parent 3003a23 commit b3099cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,8 @@ private BlobPath getManifestFolderPath(String clusterName, String clusterUUID) {
}

// TODO - will be replace by actual implementation after download PR is merged
public Metadata getLatestMetadata(String clusterName, String clusterUUID) {
return Metadata.builder().build();
public Metadata getLatestMetadata(String clusterName, String clusterUUID) throws IOException {
return Metadata.builder().indices(getLatestIndexMetadata(clusterName, clusterUUID)).build();
}

/**
Expand Down

0 comments on commit b3099cf

Please sign in to comment.