HDFS-15116. Correct spelling of comments for NNStorage.setRestoreFailedStorage. Contributed by Xudong Cao.

This commit is contained in:
Ayush Saxena 2020-12-20 15:12:32 +05:30
parent 3d2193cd64
commit 70789fc6b9
1 changed files with 2 additions and 2 deletions

View File

@ -218,13 +218,13 @@ public class NNStorage extends Storage implements Closeable,
/**
* Set flag whether an attempt should be made to restore failed storage
* directories at the next available oppurtuinity.
* directories at the next available opportunity.
*
* @param val Whether restoration attempt should be made.
*/
void setRestoreFailedStorage(boolean val) {
LOG.warn("set restore failed storage to {}", val);
restoreFailedStorage=val;
restoreFailedStorage = val;
}
/**