Skip to content

Commit

Permalink
fix spotless error
Browse files Browse the repository at this point in the history
Signed-off-by: bansvaru <bansvaru@amazon.com>
  • Loading branch information
linuxpi committed Sep 2, 2023
1 parent 04d991d commit 0d1fcfb
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,10 @@ private IndexMetadata getIndexMetadata(String clusterName, String clusterUUID, U
blobStoreRepository.getNamedXContentRegistry()
);
} catch (IOException e) {
throw new IllegalStateException(String.format(
Locale.ROOT,
"Error while downloading IndexMetadata - %s",
uploadedIndexMetadata.getUploadedFilename()
), e);
throw new IllegalStateException(
String.format(Locale.ROOT, "Error while downloading IndexMetadata - %s", uploadedIndexMetadata.getUploadedFilename()),
e
);
}
}

Expand Down

0 comments on commit 0d1fcfb

Please sign in to comment.