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:
parent
350573290f
commit
e4bb360ae0
|
@ -260,7 +260,7 @@ public class Node implements Closeable {
|
||||||
nodeEnvironment = new NodeEnvironment(tmpSettings, environment);
|
nodeEnvironment = new NodeEnvironment(tmpSettings, environment);
|
||||||
resourcesToClose.add(nodeEnvironment);
|
resourcesToClose.add(nodeEnvironment);
|
||||||
} catch (IOException ex) {
|
} 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);
|
final boolean hadPredefinedNodeName = NODE_NAME_SETTING.exists(tmpSettings);
|
||||||
Logger logger = Loggers.getLogger(Node.class, tmpSettings);
|
Logger logger = Loggers.getLogger(Node.class, tmpSettings);
|
||||||
|
|
Loading…
Reference in New Issue