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
1 changed files with 1 additions and 2 deletions

View File

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