HDDS-1655. Redundant toString() call for metaDataPath in KeyValueContainerCheck (#932)
This commit is contained in:
parent
9deac3b6bf
commit
fcfe7a3cc0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue