HDDS-1655. Redundant toString() call for metaDataPath in KeyValueContainerCheck (#932)

This commit is contained in:
Shweta Yakkali 2019-06-08 22:12:29 -07:00 committed by Bharat Viswanadham
parent 9deac3b6bf
commit fcfe7a3cc0

View File

@ -279,9 +279,8 @@ private void iterateBlockDB(ReferenceCountedDB db)
}
private void loadContainerData() throws IOException {
File containerFile = KeyValueContainer
.getContainerFile(metadataPath.toString(), containerID);
.getContainerFile(metadataPath, containerID);
onDiskContainerData = (KeyValueContainerData) ContainerDataYaml
.readContainerFile(containerFile);