Fix typo in node environment exception message

This commit fixes a typo in an exception message when trying to create a
node environment.

Relates #24381
This commit is contained in:
Toby McLaughlin 2017-04-28 14:48:52 +10:00 committed by Jason Tedor
parent 350573290f
commit e4bb360ae0
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ public class Node implements Closeable {
nodeEnvironment = new NodeEnvironment(tmpSettings, environment);
resourcesToClose.add(nodeEnvironment);
} catch (IOException ex) {
throw new IllegalStateException("Failed to created node environment", ex);
throw new IllegalStateException("Failed to create node environment", ex);
}
final boolean hadPredefinedNodeName = NODE_NAME_SETTING.exists(tmpSettings);
Logger logger = Loggers.getLogger(Node.class, tmpSettings);